//public GameObject hand;
 private void Start()
 {
     resetScript = transform.parent.GetComponent <OutlineReset>();
     numTouching = 0;
     touching    = new List <Collider>();
     //offset = transform.position - hand.transform.position;
 }
Beispiel #2
0
    //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>();
    }
Beispiel #5
0
 private void Start()
 {
     resetScript = transform.parent.GetComponent <OutlineReset>();
 }
Beispiel #6
0
    //public GameObject hand;

    private void Start()
    {
        //pickUps = GameObject.FindGameObjectsWithTag("Interactive");
        //resetScript = GameObject.Find("Buttons").GetComponent<ButtonReset>();
        resetScript = transform.parent.GetComponent <OutlineReset>();
    }