Ejemplo n.º 1
0
    private Vector2 lookStick;     //position of the right stick

    private void Awake()
    {
        ctrl = new TestControls_Brackeys();

        ctrl.Test.Move.performed += OnMove;

        ctrl.Test.Look.performed += OnLook;

        ctrl.Test.Jump.performed += OnJump;

        ctrl.Test.Fire.performed += OnFire;
    }
Ejemplo n.º 2
0
 public TestActions(TestControls_Brackeys wrapper)
 {
     m_Wrapper = wrapper;
 }