public void SetCallbacks(IPointerActions instance)
 {
     if (m_Wrapper.m_PointerActionsCallbackInterface != null)
     {
         @Move.started         -= m_Wrapper.m_PointerActionsCallbackInterface.OnMove;
         @Move.performed       -= m_Wrapper.m_PointerActionsCallbackInterface.OnMove;
         @Move.canceled        -= m_Wrapper.m_PointerActionsCallbackInterface.OnMove;
         @Lock.started         -= m_Wrapper.m_PointerActionsCallbackInterface.OnLock;
         @Lock.performed       -= m_Wrapper.m_PointerActionsCallbackInterface.OnLock;
         @Lock.canceled        -= m_Wrapper.m_PointerActionsCallbackInterface.OnLock;
         @CancelLock.started   -= m_Wrapper.m_PointerActionsCallbackInterface.OnCancelLock;
         @CancelLock.performed -= m_Wrapper.m_PointerActionsCallbackInterface.OnCancelLock;
         @CancelLock.canceled  -= m_Wrapper.m_PointerActionsCallbackInterface.OnCancelLock;
     }
     m_Wrapper.m_PointerActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Move.started         += instance.OnMove;
         @Move.performed       += instance.OnMove;
         @Move.canceled        += instance.OnMove;
         @Lock.started         += instance.OnLock;
         @Lock.performed       += instance.OnLock;
         @Lock.canceled        += instance.OnLock;
         @CancelLock.started   += instance.OnCancelLock;
         @CancelLock.performed += instance.OnCancelLock;
         @CancelLock.canceled  += instance.OnCancelLock;
     }
 }
 public void SetCallbacks(IPointerActions instance)
 {
     if (m_Wrapper.m_PointerActionsCallbackInterface != null)
     {
         @Position.started   -= m_Wrapper.m_PointerActionsCallbackInterface.OnPosition;
         @Position.performed -= m_Wrapper.m_PointerActionsCallbackInterface.OnPosition;
         @Position.canceled  -= m_Wrapper.m_PointerActionsCallbackInterface.OnPosition;
         @Click.started      -= m_Wrapper.m_PointerActionsCallbackInterface.OnClick;
         @Click.performed    -= m_Wrapper.m_PointerActionsCallbackInterface.OnClick;
         @Click.canceled     -= m_Wrapper.m_PointerActionsCallbackInterface.OnClick;
     }
     m_Wrapper.m_PointerActionsCallbackInterface = instance;
     if (instance != null)
     {
         @Position.started   += instance.OnPosition;
         @Position.performed += instance.OnPosition;
         @Position.canceled  += instance.OnPosition;
         @Click.started      += instance.OnClick;
         @Click.performed    += instance.OnClick;
         @Click.canceled     += instance.OnClick;
     }
 }