Ejemplo n.º 1
0
 private void Start()
 {
     Connnect(SpaceSettings.serverIP);
     cl = GameObject.Find("StatusControl").GetComponent <ControlList>();
     //if(_ip!=null)
     //    _ip = "192.168.3.77";
 }
Ejemplo n.º 2
0
        void Start()
        {
            cl = GameObject.Find("StatusControl").GetComponent <ControlList>();
#if UNITY_UWP
            // HoloLens螳滓ゥ溘〒WebSocket謗・邯夐幕蟋�
            OnConnect("Start");
#endif
        }
        //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>();
        }
Ejemplo n.º 4
0
 void Awake()
 {
     button = this.GetComponent <Button>();
     button.onClick.AddListener(OpenApp);
     cl = GameObject.Find("StatusControl").GetComponent <ControlList>();
 }
Ejemplo n.º 5
0
 // Start is called before the first frame update
 void Start()
 {
     cl = GameObject.Find("StatusControl").GetComponent <ControlList>();
     bt = this.GetComponent <Button>();
     bt.onClick.AddListener(InputSim);
 }