Object.ToStringfunction ToString () : StringDescriptionReturns the name of the game object.
JavaScript
Debug.Log(gameObject); using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > Object | ||||
Object.ToStringfunction ToString () : StringDescriptionReturns the name of the game object.
JavaScript
Debug.Log(gameObject); using UnityEngine; import UnityEngine |