void Start()
 {
     this.selectLabels = selectLabelsMenu.GetComponent <SelectLabels>();
     if (floatingSpheres == null)
     {
         this.floatingSpheres = Component.FindObjectOfType <FloatingSpheres>();
     }
     //SetActiveMenu(false);
 }
예제 #2
0
 public void Start()
 {
     if (menuObject != null)
     {
         if (selectLabelsMenu == null)
         {
             FloatingSpheres.SelectLabels selectLabels = menuObject.GetComponentInChildren <FloatingSpheres.SelectLabels>();
             if (selectLabels != null)
             {
                 selectLabelsMenu = selectLabels.gameObject;
                 if (floatingSpheres == null)
                 {
                     floatingSpheres = selectLabels.floatingSpheres;
                 }
             }
         }
     }
     buildObjects();
     selectLabelsMenu.SetActive(false);
 }