Ejemplo n.º 1
0
 public void RemoveDeathStateListener(UnitDeathListener handler)
 {
     if (!PostUnitDeathState.Remove(handler))
     {
         DebugUtils.LogError(DebugUtils.Type.AI_Soldier, "Try to remove a unregister message!");
     }
 }
Ejemplo n.º 2
0
 public void RegisterDeathStateListener(UnitDeathListener handler)
 {
     PostUnitDeathState.Add(handler);
 }