private void OnDisable()
 {
     if (gameEvent != null)
     {
         gameEvent.UnregisterListener(this);
     }
 }
Ejemplo n.º 2
0
 private void OnDisable()
 {
     Event.UnregisterListener(this);
 }