Example #1
0
 private void OnDisable()
 {
     UpdateLoop.UnregisterForUpdate(this);
 }
Example #2
0
 private void OnEnable()
 {
     nextPlayTime = Time.time + delay;
     UpdateLoop.RegisterForUpdate(this);
 }