Пример #1
0
 private void Awake()
 {
     character   = GetComponent <AuthoritativeCharacter>();
     stateBuffer = new LinkedList <CharacterState>();
     SetObservedState(character.state);
     AddState(character.state);
 }
Пример #2
0
 private void Awake()
 {
     pendingInputs = new LinkedList <CharacterInput>();
     character     = GetComponent <AuthoritativeCharacter>();
 }
Пример #3
0
 private void Awake()
 {
     inputBuffer     = new Queue <CharacterInput>();
     character       = GetComponent <AuthoritativeCharacter>();
     character.state = CharacterState.Zero;
 }
Пример #4
0
 private void Awake()
 {
     inputBuffer = new List <CharacterInput>();
     character   = GetComponent <AuthoritativeCharacter>();
     predictor   = GetComponent <AuthCharPredictor>();
 }