// Use this for initialization void Start() { player = GetComponent <ThirdPersonControllerInput>(); playerCC = GetComponent <CharacterController>(); isOnGround = false; prevIsGrounded = false; }