Method OnEnable OnEnable() This function is called when the object becomes enabled and active. Declaration protected virtual void OnEnable() See Also MonoBehaviour