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