private void Awake() { character = GetComponent <AuthoritativeCharacter>(); stateBuffer = new LinkedList <CharacterState>(); SetObservedState(character.state); AddState(character.state); }
private void Awake() { pendingInputs = new LinkedList <CharacterInput>(); character = GetComponent <AuthoritativeCharacter>(); }
private void Awake() { inputBuffer = new Queue <CharacterInput>(); character = GetComponent <AuthoritativeCharacter>(); character.state = CharacterState.Zero; }
private void Awake() { inputBuffer = new List <CharacterInput>(); character = GetComponent <AuthoritativeCharacter>(); predictor = GetComponent <AuthCharPredictor>(); }