示例#1
0
 public void Destroy()
 {
     if (occupiedPlatform != null)
     {
         occupiedPlatform.UnbuildTower(occupiedNode);
     }
 }
示例#2
0
        public void RemoveFromGame()
        {
            IndicatorControl.TowerRemoved(this);

            destroyed = true;
            if (occupiedPlatform != null)
            {
                occupiedPlatform.UnbuildTower(occupiedNode);
            }

            base.Destroyed(PlayAnimDestroyed());
        }