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