//private int timer = 0; void Start() { onHoldIn = false; handObject = GameObject.FindGameObjectWithTag("hand"); hand = handObject.GetComponent<ColorBoxByPose>(); myText = GetComponentInChildren<Text>(); myText.color = Color.clear; }
//private int timer = 0; void Start() { onHoldIn = false; handObject = GameObject.FindGameObjectWithTag("hand"); hand = handObject.GetComponent <ColorBoxByPose>(); myText = GetComponentInChildren <Text>(); myText.color = Color.clear; }
// Use this for initialization void Start() { Global.idCount++; Global.iszero = true; get = GameObject.FindGameObjectWithTag("Joint"); QQ = get.GetComponent <ColorBoxByPose>(); // id = Global.idCount; if (this.transform.position.z < 10.0) { id = 1; } else if (this.transform.position.z < 11.0) { if (this.transform.position.x < 0) { id = 2; } else { id = 3; } } else if (this.transform.position.z < 12) { if (this.transform.position.x < 0) { id = 4; } else if (this.transform.position.x < 1) { id = 5; } else { id = 6; } } else if (this.transform.position.z < 13.0) { if (this.transform.position.x < -3.0) { id = 7; } else if (this.transform.position.x < -1.0) { id = 8; } else if (this.transform.position.x < 2.0) { id = 9; } else { id = 10; } } }
// Use this for initialization void Start() { split = GetComponent<Splitter>(); vib = GetComponent<ColorBoxByPose>(); }