private void Awake() { character = GetComponent <PlayerMovementManager>(); stateBuffer = new LinkedList <PlayerState>(); SetObservedState(character.State); AddState(character.State); }
private void Awake() { inputBuffer = new List <PlayerInputs>(); character = GetComponent <PlayerMovementManager>(); predictor = GetComponent <PlayerMovementPredictor>(); inputs = new PlayerInputs(); }
private void Awake() { pendingInputs = new LinkedList <PlayerInputs>(); character = GetComponent <PlayerMovementManager>(); }
private void Awake() { inputBuffer = new Queue <PlayerInputs>(); character = GetComponent <PlayerMovementManager>(); character.State = PlayerState.Zero; }