Beispiel #1
0
 public void SetCallbacks(INewactionmapActions instance)
 {
     if (m_Wrapper.m_NewactionmapActionsCallbackInterface != null)
     {
         @PauseGame.started   -= m_Wrapper.m_NewactionmapActionsCallbackInterface.OnPauseGame;
         @PauseGame.performed -= m_Wrapper.m_NewactionmapActionsCallbackInterface.OnPauseGame;
         @PauseGame.canceled  -= m_Wrapper.m_NewactionmapActionsCallbackInterface.OnPauseGame;
     }
     m_Wrapper.m_NewactionmapActionsCallbackInterface = instance;
     if (instance != null)
     {
         @PauseGame.started   += instance.OnPauseGame;
         @PauseGame.performed += instance.OnPauseGame;
         @PauseGame.canceled  += instance.OnPauseGame;
     }
 }
Beispiel #2
0
 public void SetCallbacks(INewactionmapActions instance)
 {
     if (m_Wrapper.m_NewactionmapActionsCallbackInterface != null)
     {
         Newaction.started   -= m_Wrapper.m_NewactionmapActionsCallbackInterface.OnNewaction;
         Newaction.performed -= m_Wrapper.m_NewactionmapActionsCallbackInterface.OnNewaction;
         Newaction.canceled  -= m_Wrapper.m_NewactionmapActionsCallbackInterface.OnNewaction;
     }
     m_Wrapper.m_NewactionmapActionsCallbackInterface = instance;
     if (instance != null)
     {
         Newaction.started   += instance.OnNewaction;
         Newaction.performed += instance.OnNewaction;
         Newaction.canceled  += instance.OnNewaction;
     }
 }