コード例 #1
0
 void OnDisable()
 {
     //AIEventManager.StopListening ("test", someListener);
     AIEventManager.StopListening("Spawn", SomeOtherFunction);
     AIEventManager.StopListening("Destroy", SomeThirdFunction);
     AIEventManager.StopListening("Damage", DamageListener);
 }
コード例 #2
0
 void OnDisable()
 {
     //        EventManager.StopListening ("Spawn", spawnListener);
     AIEventManager.StopListening("Spawn", Spawn);
 }