예제 #1
0
    public void UnRegisterChild(TerrorVilleTurret child)
    {
        int index = dieableChilds.IndexOf(child);

        if (index >= 0)
        {
            dieableChilds[index] = null;
        }
    }
예제 #2
0
 public void RegisterChild(TerrorVilleTurret child)
 {
     dieableChilds.Add(child);
 }