// Use this for initialization void Start() { rotate = false; // set translate mode isBelow = false; rb = GetComponent <Rigidbody>(); strobe = GetComponent <StrobeSelected>(); }
void Start() { isGrabbed = false; isBelow = false; rb = transform.GetComponent <Rigidbody>(); strobe = transform.GetComponent <StrobeSelected>(); strobe.strobeColor = Color.grey; }
void Start() { selected = false; beyond = false; cubeOriginal = new Vector3(transform.position.x, transform.position.y, transform.position.z); camPre = player.transform.rotation.x; strobe = transform.GetComponent <StrobeSelected>(); strobe.strobeColor = Color.grey; }