// Use this for initialization void Start () { circle = GameObject.Find ("Main Circle"); script = circle.GetComponent<elementArray> (); img = GetComponent<Image> (); //img.enabled = false; }
// Use this for initialization void Start () { circle = GameObject.Find ("Main Circle").GetComponent<elementArray>(); }
// Use this for initialization void Start () { interactBox = GameObject.FindGameObjectWithTag ("PlayerInteractBox").GetComponent<PlayerInteractBox>(); circle = GameObject.Find ("Main Circle").GetComponent<elementArray>(); player = GameObject.Find ("player").GetComponent<Rigidbody> (); }