예제 #1
0
 public virtual void OnEnableLogic()
 {
     if (gameEvent != null)
     {
         gameEvent.Register(this);
     }
 }
예제 #2
0
 private void Awake() => gameEvent.Register(this);
예제 #3
0
 private void OnEnable()
 {
     gameEvent.Register(this);
 }