Example #1
0
 private void Start()
 {
     stateLogic = GetStateLogic(isCrouching);
     state      = stateLogic.GetState(this, Vector3.zero);
     BroadcastState.Invoke(state);
     priorState = state;
 }
Example #2
0
 public void ReceiveInput(Vector3 moveInput)
 {
     stateLogic = GetStateLogic(isCrouching);
     SetState(stateLogic.GetState(this, moveInput));
 }