// Use this for initialization void Start() { this.cipc = GameObject.FindGameObjectWithTag("CIPC").GetComponent <CIPCReceiver>(); //this.generator = GameObject.FindGameObjectWithTag("Generator").GetComponent<Generator>(); Debug.Log("Models View"); this.List_models = new List <GameObject>(); }
// Use this for initialization void Start() { this.cipc = GameObject.FindGameObjectWithTag("CIPC").GetComponent<CIPCReceiver>(); //this.generator = GameObject.FindGameObjectWithTag("Generator").GetComponent<Generator>(); Debug.Log("Models View"); this.List_models = new List<GameObject>(); }
// Use this for initialization void Start() { this.cipc = GameObject.FindGameObjectWithTag("CIPC").GetComponent <CIPCReceiver>(); this.robotBone = new Human(); this.List_Humans = new List <Human>(); this.robotBone = new Human(); Debug.Log("Generator"); this.model = Instantiate(this.modelofRobot); this.model.transform.parent = this.transform; this.Init(); }
void Start() { this.robotLight = this.robot.transform.FindChild("RobotLight").gameObject; this.cipcKinect = this.CIPCforKinect.GetComponent<CIPCReceiver>(); this.cipcLS = this.CIPCforLaserScaner.GetComponent<CIPCReceiverLaserScaner>(); this.pointCloud = this.depth.GetComponent<PointCloud>(); this.List_Human = new List<Human>(); this.list_humanpos = new List<Vector3>(); this.cp = new CalculatePosition(0); this.centerPos = Vector3.zero; this.preCenterPos = new Vector3(); this.pretime = 0; Debug.Log("Light Robot"); }
//CIPC public void ConnectCIPC() { this.cipcR = GameObject.FindGameObjectWithTag("CIPC").GetComponent <CIPCReceiver>(); this.cipcR.ConnectCIPC(int.Parse(this.myPort.text), this.IP.text, int.Parse(this.serverPort.text)); }
// Use this for initialization void Start() { this.cipc = GameObject.FindGameObjectWithTag("CIPC").GetComponent<CIPCReceiver>(); this.robotBone = new Human(); this.List_Humans = new List<Human>(); this.robotBone = new Human(); Debug.Log("Generator"); this.model = Instantiate(this.modelofRobot); this.model.transform.parent = this.transform; this.Init(); }
//CIPC public void ConnectCIPC() { this.cipcR = GameObject.FindGameObjectWithTag("CIPC").GetComponent<CIPCReceiver>(); this.cipcR.ConnectCIPC(int.Parse(this.myPort.text), this.IP.text, int.Parse(this.serverPort.text)); }