Beispiel #1
0
 public void ReleaseAll()
 {
     Dictionary <Type, BaseUIController> .Enumerator iter = controllerMaps.GetEnumerator();
     while (iter.MoveNext())
     {
         BaseUIController controller = iter.Current.Value;
         controller.Hide();
         controller.Destroy();
     }
 }
Beispiel #2
0
 public void HideLayerObjects(BaseUIController controller)
 {
     Dictionary <Type, BaseUIController> .Enumerator iter = controllerMaps.GetEnumerator();
     while (iter.MoveNext())
     {
         BaseUIController temp = iter.Current.Value;
         if (temp == controller || temp.layer != controller.layer)
         {
             continue;
         }
         temp.Hide();
     }
 }