private void OnDisable()
 {
     @event.UnregisterListener(this);
 }
示例#2
0
 public void OnDisable()
 {
     gameEvent.UnregisterListener(this);
 }
示例#3
0
 private void OnDisable()
 {
     gameEvent?.UnregisterListener(this);
 }