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