Example #1
0
 public void SetCallbacks(IPlayerActionMapActions instance)
 {
     if (m_Wrapper.m_PlayerActionMapActionsCallbackInterface != null)
     {
         @Pause.started      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPause;
         @Pause.performed    -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPause;
         @Pause.canceled     -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPause;
         @Movement.started   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Movement.performed -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Movement.canceled  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @PickUp.started     -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPickUp;
         @PickUp.performed   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPickUp;
         @PickUp.canceled    -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPickUp;
     }
     m_Wrapper.m_PlayerActionMapActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Pause.started      += instance.OnPause;
         @Pause.performed    += instance.OnPause;
         @Pause.canceled     += instance.OnPause;
         @Movement.started   += instance.OnMovement;
         @Movement.performed += instance.OnMovement;
         @Movement.canceled  += instance.OnMovement;
         @PickUp.started     += instance.OnPickUp;
         @PickUp.performed   += instance.OnPickUp;
         @PickUp.canceled    += instance.OnPickUp;
     }
 }
Example #2
0
 public void SetCallbacks(IPlayerActionMapActions instance)
 {
     if (m_Wrapper.m_PlayerActionMapActionsCallbackInterface != null)
     {
         @Movement.started   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Movement.performed -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Movement.canceled  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Jump.started       -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnJump;
         @Jump.performed     -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnJump;
         @Jump.canceled      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnJump;
         @Run.started        -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRun;
         @Run.performed      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRun;
         @Run.canceled       -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRun;
         @Look.started       -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
         @Look.performed     -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
         @Look.canceled      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
     }
     m_Wrapper.m_PlayerActionMapActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Movement.started   += instance.OnMovement;
         @Movement.performed += instance.OnMovement;
         @Movement.canceled  += instance.OnMovement;
         @Jump.started       += instance.OnJump;
         @Jump.performed     += instance.OnJump;
         @Jump.canceled      += instance.OnJump;
         @Run.started        += instance.OnRun;
         @Run.performed      += instance.OnRun;
         @Run.canceled       += instance.OnRun;
         @Look.started       += instance.OnLook;
         @Look.performed     += instance.OnLook;
         @Look.canceled      += instance.OnLook;
     }
 }
 public void SetCallbacks(IPlayerActionMapActions instance)
 {
     if (m_Wrapper.m_PlayerActionMapActionsCallbackInterface != null)
     {
         @Movement.started    -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Movement.performed  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Movement.canceled   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Jump.started        -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnJump;
         @Jump.performed      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnJump;
         @Jump.canceled       -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnJump;
         @Run.started         -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRun;
         @Run.performed       -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRun;
         @Run.canceled        -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRun;
         @Look.started        -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
         @Look.performed      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
         @Look.canceled       -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
         @Fire.started        -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnFire;
         @Fire.performed      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnFire;
         @Fire.canceled       -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnFire;
         @Reload.started      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnReload;
         @Reload.performed    -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnReload;
         @Reload.canceled     -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnReload;
         @PauseGame.started   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPauseGame;
         @PauseGame.performed -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPauseGame;
         @PauseGame.canceled  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPauseGame;
         @Inventory.started   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnInventory;
         @Inventory.performed -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnInventory;
         @Inventory.canceled  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnInventory;
     }
     m_Wrapper.m_PlayerActionMapActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Movement.started    += instance.OnMovement;
         @Movement.performed  += instance.OnMovement;
         @Movement.canceled   += instance.OnMovement;
         @Jump.started        += instance.OnJump;
         @Jump.performed      += instance.OnJump;
         @Jump.canceled       += instance.OnJump;
         @Run.started         += instance.OnRun;
         @Run.performed       += instance.OnRun;
         @Run.canceled        += instance.OnRun;
         @Look.started        += instance.OnLook;
         @Look.performed      += instance.OnLook;
         @Look.canceled       += instance.OnLook;
         @Fire.started        += instance.OnFire;
         @Fire.performed      += instance.OnFire;
         @Fire.canceled       += instance.OnFire;
         @Reload.started      += instance.OnReload;
         @Reload.performed    += instance.OnReload;
         @Reload.canceled     += instance.OnReload;
         @PauseGame.started   += instance.OnPauseGame;
         @PauseGame.performed += instance.OnPauseGame;
         @PauseGame.canceled  += instance.OnPauseGame;
         @Inventory.started   += instance.OnInventory;
         @Inventory.performed += instance.OnInventory;
         @Inventory.canceled  += instance.OnInventory;
     }
 }
 public void SetCallbacks(IPlayerActionMapActions instance)
 {
     if (m_Wrapper.m_PlayerActionMapActionsCallbackInterface != null)
     {
         Move.started   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMove;
         Move.performed -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMove;
         Move.canceled  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMove;
     }
     m_Wrapper.m_PlayerActionMapActionsCallbackInterface = instance;
     if (instance != null)
     {
         Move.started   += instance.OnMove;
         Move.performed += instance.OnMove;
         Move.canceled  += instance.OnMove;
     }
 }
 public void SetCallbacks(IPlayerActionMapActions instance)
 {
     if (m_Wrapper.m_PlayerActionMapActionsCallbackInterface != null)
     {
         @Movement.started   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Movement.performed -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Movement.canceled  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMovement;
         @Running.started    -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRunning;
         @Running.performed  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRunning;
         @Running.canceled   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnRunning;
         @Look.started       -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
         @Look.performed     -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
         @Look.canceled      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnLook;
         @Interact.started   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnInteract;
         @Interact.performed -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnInteract;
         @Interact.canceled  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnInteract;
         @Pause.started      -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPause;
         @Pause.performed    -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPause;
         @Pause.canceled     -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnPause;
     }
     m_Wrapper.m_PlayerActionMapActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Movement.started   += instance.OnMovement;
         @Movement.performed += instance.OnMovement;
         @Movement.canceled  += instance.OnMovement;
         @Running.started    += instance.OnRunning;
         @Running.performed  += instance.OnRunning;
         @Running.canceled   += instance.OnRunning;
         @Look.started       += instance.OnLook;
         @Look.performed     += instance.OnLook;
         @Look.canceled      += instance.OnLook;
         @Interact.started   += instance.OnInteract;
         @Interact.performed += instance.OnInteract;
         @Interact.canceled  += instance.OnInteract;
         @Pause.started      += instance.OnPause;
         @Pause.performed    += instance.OnPause;
         @Pause.canceled     += instance.OnPause;
     }
 }
Example #6
0
 public void SetCallbacks(IPlayerActionMapActions instance)
 {
     if (m_Wrapper.m_PlayerActionMapActionsCallbackInterface != null)
     {
         @Select.started          -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnSelect;
         @Select.performed        -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnSelect;
         @Select.canceled         -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnSelect;
         @MousePosition.started   -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMousePosition;
         @MousePosition.performed -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMousePosition;
         @MousePosition.canceled  -= m_Wrapper.m_PlayerActionMapActionsCallbackInterface.OnMousePosition;
     }
     m_Wrapper.m_PlayerActionMapActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Select.started          += instance.OnSelect;
         @Select.performed        += instance.OnSelect;
         @Select.canceled         += instance.OnSelect;
         @MousePosition.started   += instance.OnMousePosition;
         @MousePosition.performed += instance.OnMousePosition;
         @MousePosition.canceled  += instance.OnMousePosition;
     }
 }