Example #1
0
        private void GetComponentReferences()
        {
            pickupCollider = GetComponent <SphereCollider>();

            pickupSpin = GetComponent <Spin>();
            pickupGlow = transform.Find("PickupGlow").gameObject;
        }
Example #2
0
        private void GetComponentReferences()
        {
            //rigid = GetComponent<Rigidbody>();
            //boxCollider = GetComponent<BoxCollider>();
            lineRenderer   = GetComponent <LineRenderer>();
            sphereCollider = GetComponent <SphereCollider>();

            pickupSpin = GetComponent <Spin>();
            pickupGlow = transform.Find("PickupGlow").gameObject;
        }