Exemplo n.º 1
0
 public void RemoveHealthChangeListener(UnitHealthChangeListener handler)
 {
     if (!PostHealthChange.Remove(handler))
     {
         DebugUtils.LogError(DebugUtils.Type.AI_Soldier, "Try to remove a unregister message!");
     }
 }
Exemplo n.º 2
0
 public void RegisterHealthChangeListener(UnitHealthChangeListener handler)
 {
     PostHealthChange.Add(handler);
 }