MonoBehaviour.OnEnablefunction OnEnable () : voidDescriptionThis function is called when the object becomes enabled and active.
JavaScript
function OnEnable () { using UnityEngine; import UnityEngine |
|
||||
| Scripting > Runtime Classes > MonoBehaviour | ||||
MonoBehaviour.OnEnablefunction OnEnable () : voidDescriptionThis function is called when the object becomes enabled and active.
JavaScript
function OnEnable () { using UnityEngine; import UnityEngine |