What's the difference between print() and Debug.Log() ?
1 Answer
1"print()" is 7 characters and "Debug.Log()" is 11 characters. ;) (Although in JS, you can use "import UnityEngine.Debug;" at the top of the script, and then just do "Log()" instead, which is 5 characters....) Print is an alias for Debug.Log, though it won't work in classes that don't derive from Monobehaviour.
thanks a lot!
– Yanger_xy