Пример #1
0
    // 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();
    }
Пример #2
0
 public MovementActions(InputPlayerControls wrapper)
 {
     m_Wrapper = wrapper;
 }