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);
        }
示例#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>();
 }
示例#3
0
        private void Start()
        {
            ls          = GameObject.Find("WindowManager").GetComponent <LayerSystem>();
            appLayer    = ls.GetLayer("ApplicationLayer");
            staticLayer = ls.GetLayer("StaticLayer");

            //gyroCamera = GameObject.Find("GyroCamera").GetComponent<Camera>();
        }
        //private Dictionary<string>

        public void Awake()
        {
            cs     = GameObject.Find("WindowManager").GetComponent <CameraSystem>();
            ls     = GameObject.Find("WindowManager").GetComponent <LayerSystem>();
            ws     = GameObject.Find("WindowManager").GetComponent <WindowSystem>();
            server = GameObject.Find("ServerManager").GetComponent <LensServer>();
            gc     = GameObject.Find("PointerImage").GetComponent <GazeCenter>();
        }
        //private Dictionary<string>

        public void Awake()
        {
            //cs = GameObject.Find("WindowManager").GetComponent<CameraSystem>();
            ls = GameObject.Find("StatusControl").GetComponent <LayerSystem>();
            cl = GameObject.Find("StatusControl").GetComponent <ControlList>();
            //ws = GameObject.Find("WindowManager").GetComponent<WindowSystem>();
            //server = GameObject.Find("ServerManager").GetComponent<LensServer>();
            gc = GameObject.Find("PointerImage").GetComponent <GazeCenter>();
            ap = GameObject.Find("StatusControl").GetComponent <AppControl>();
        }
 private void Awake()
 {
     touchStatus = status.Free;
     sc          = GameObject.Find("StatusControl").GetComponent <StatusController>();
     //ws = GameObject.Find("WindowManager").GetComponent<WindowSystem>();
     testCamera = GameObject.Find("testCamera").GetComponent <Camera>();
     gyroCamera = GameObject.Find("GyroCamera").GetComponent <Camera>();
     ls         = GameObject.Find("StatusControl").GetComponent <LayerSystem>();
     storeApp   = GameObject.Find("StoreApp");
     quickApp   = GameObject.Find("QuickApp");
     systemApp  = GameObject.Find("SystemApp");
     systemInfo = GameObject.Find("SystemInfo");
     activeApp  = GameObject.Find("ActiveApp");
 }