Esempio n. 1
0
 public void CloseAll()
 {
     selected = false;
     if (dummyParent)
     {
         dummyParent.CloseAll();
         Destroy(dummyParent.gameObject);
         dummyParent = null;
         if (OnMenuClosed != null)
         {
             OnMenuClosed.Invoke();
         }
     }
 }
 public void CloseAll()
 {
     selected = false;
     if (dummyParent)
     {
         dummyParent.CloseAll();
         Destroy(dummyParent.gameObject);
         dummyParent = null;
         laserPointer.maxReticleDistance = reticleDistance;
         if (OnMenuClosed != null)
         {
             OnMenuClosed.Invoke();
         }
     }
 }