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);
        }
 public void Awake()
 {
     gcc        = GameObject.Find("GYROCamera").GetComponent <GyroCameraControl>();
     testCamera = GameObject.Find("testCamera");
     gyroCamera = GameObject.Find("GYROCamera");
 }