unity how to sebug.log a int code example
Example: C# Into To Tring Debug.Log
Debug.Log("WeaponNum = " + WeaponNum);
//or
Debug.Log("WeaponNum = " + WeaponNum.ToStiring());
//or
Debug.Log(string.Format("WeaponNum = {0}", WeaponNum));
Debug.Log("WeaponNum = " + WeaponNum);
//or
Debug.Log("WeaponNum = " + WeaponNum.ToStiring());
//or
Debug.Log(string.Format("WeaponNum = {0}", WeaponNum));