Пример #1
0
 /// <summary>
 /// Destroy all icons and arrows in the game
 /// </summary>
 public void ClearEverything()
 {
     AbstractObject.ClearEvrething();
     if (m_sAllItems != null)
     {
         foreach (var go in m_sAllItems)
         {
             DestroyImmediate(go);
         }
         m_sAllItems.Clear();
     }
     else
     {
         m_sAllItems = new List <GameObject>();
     }
     ArrowScript.DestroyAllObjects();
 }