void Start() { influencer = GetComponent <InstagramInfluencer>(); rb = GetComponent <Rigidbody>(); velocity = Vector3.zero; //gravitationalVelocity = Vector3.zero; Cursor.lockState = CursorLockMode.Locked; Cursor.visible = false; }
void Start() { rb = GetComponent <Rigidbody>(); influencer = GetComponent <InstagramInfluencer>(); mouseX = 0; mouseY = 0; velocity = Vector3.zero; gravitationalVelocity = Vector3.zero; Cursor.lockState = CursorLockMode.Locked; Cursor.visible = false; brake = false; tempVelocity = Vector3.zero; }