private void DestroyAtSpot(int index)
        {
            var toDestroy = inventoryItemViews[index];

            gameObjectManager.DestroyObj(toDestroy);
            currentInventoryItems[index] = null;
        }
Example #2
0
        private void DeleteIsland(Island island)
        {
            var index = DrawingIslands.IndexOf(island);

            if (index == -1)
            {
                return;
            }
            DrawingIslands[index] = null;
            gOM.DestroyObj(DrawingIslandViews[index]);
            DrawingIslandViews[index] = null;
            DrawingSizes[index]       = -1f;
        }
Example #3
0
 public void Destroy(GameObject gObject)
 {
     gB.DestroyObj(gObject);
 }
Example #4
0
 public void Destroy(GameObject gObject)
 {
     gB.DestroyObj(gObject);
     this.ModelToEntity.modelToEntity.Remove(gObject);
 }
 public void DestroyGO(GameObject gO)
 {
     gB.DestroyObj(gO);
 }
 public void DestroyLight(GameObject unitLight)
 {
     gO.DestroyObj(unitLight);
 }
 public void DestroyElementView(GameObject ElementView)
 {
     gM.DestroyObj(ElementView);
 }