//public GameObject hand; private void Start() { resetScript = transform.parent.GetComponent <OutlineReset>(); numTouching = 0; touching = new List <Collider>(); //offset = transform.position - hand.transform.position; }
//public GameObject hand; private void Start() { //pickUps = GameObject.FindGameObjectsWithTag("Interactive"); //resetScript = GameObject.Find("Buttons").GetComponent<ButtonReset>(); resetScript = transform.parent.GetComponent <OutlineReset>(); stickyRay = GetComponent <LineRenderer>(); stickyRay.enabled = false; }
private void Start() { resetScript = transform.parent.parent.GetComponent <OutlineReset>(); transform.position = container.transform.position; }
//private bool holding = false; private void Start() { //resetScript = GameObject.Find("Buttons").GetComponent<ButtonReset>(); resetScript = transform.parent.GetComponent <OutlineReset>(); }
private void Start() { resetScript = transform.parent.GetComponent <OutlineReset>(); }
//public GameObject hand; private void Start() { //pickUps = GameObject.FindGameObjectsWithTag("Interactive"); //resetScript = GameObject.Find("Buttons").GetComponent<ButtonReset>(); resetScript = transform.parent.GetComponent <OutlineReset>(); }