public void OnUpdate() { if (transform.localPosition.y < -10) { Reset(); } if (character.eyesCamera.state == CharacterEyesCamera.states.SUBJECTIVE) { if (inputManager.forward > 0) { actions.WalkStraight(); } else { } //StopMoving(); } }
public void OnUpdate() { if (transform.localPosition.y < -10) { Reset(); } if (character.eyesCamera.state == CharacterEyesCamera.states.SUBJECTIVE) { if (inputManager.forward > 0) { actions.WalkStraight(); } else { } //StopMoving(); } }