private int lastGround; //Represent last tick the controller touched ground void Awake() { input = GetComponent <CharacterInput>(); controller = GetComponent <CharacterFixedController>(); lookDirection = transform.forward; }
void Awake() { input = GetComponent<CharacterInput>(); controller = GetComponent<CharacterFixedController>(); lookDirection = transform.forward; }