示例#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);
 }