ScriptableObject.OnEnablefunction OnEnable () : voidDescriptionThis function is called when the object is loaded
function OnEnable () { print("script was enabled"); } OnEnable cannot be a co-routine. |
|
||||
| Scripting > Runtime Classes > ScriptableObject | ||||
ScriptableObject.OnEnablefunction OnEnable () : voidDescriptionThis function is called when the object is loaded
function OnEnable () { print("script was enabled"); } OnEnable cannot be a co-routine. |