// Start is called before the first frame update void Awake() { _rigidbody = GetComponent <Rigidbody>(); _animator = GetComponent <Animator>(); _idleState = new Idle(this); _aimState = new Aim(this); _walkingState = new Walking(this); _throwState = new Throw(this); _controls = new InputPlayerControls(); ControlsInitialization(); }
public MovementActions(InputPlayerControls wrapper) { m_Wrapper = wrapper; }