Esempio n. 1
0
        private void Awake()
        {
            testCamera = GameObject.Find("testCamera").GetComponent <Camera>();
            gyroCamera = GameObject.Find("GyroCamera").GetComponent <Camera>();
            gcc        = GameObject.Find("GYROCamera").GetComponent <GyroCameraControl>();

            HorizonGrid  = GameObject.Find("HorizontalHide");
            VerticalGrid = GameObject.Find("VerticalHide");


            spaceCalculate = GameObject.Find("StatusControl").GetComponent <SpaceCalculation>();
            Space          = GameObject.Find("StatusControl").GetComponent <SpaceBase>();
            Layers         = GameObject.Find("StatusControl").GetComponent <LayerSystem>();
            windowSystem   = GameObject.Find("StatusControl").GetComponent <WindowSystem>();


            IdList      = new Dictionary <int, string>();
            Windows     = new Dictionary <int, GameObject>();
            hideAppList = new List <int>();
            IdBase      = 120;
            HideGrid();

            moveGhost = GameObject.Find("MoveGhost");
            moveGhost.SetActive(false);
        }
Esempio n. 2
0
 void Awake()
 {
     SpaceCalculate = GameObject.Find("StatusControl").GetComponent <SpaceCalculation>();
     Space          = GameObject.Find("StatusControl").GetComponent <SpaceBase>();
     Layers         = GameObject.Find("StatusControl").GetComponent <LayerSystem>();
     appControl     = GameObject.Find("StatusControl").GetComponent <AppControl>();
 }
Esempio n. 3
0
 public static SpaceBase SetSpace()
 {
     if (instance = null)
     {
         instance = new SpaceBase();
     }
     return(instance);
 }