private void Uninitialize() { if (m_QPortalUserActionsCallbackInterface != null) { QPortalUser.SetCallbacks(null); } m_QPortalUser = null; m_QPortalUser_Movement = null; m_Initialized = false; }
public void SetAsset(InputActionAsset newAsset) { if (newAsset == asset) { return; } var QPortalUserCallbacks = m_QPortalUserActionsCallbackInterface; if (m_Initialized) { Uninitialize(); } asset = newAsset; QPortalUser.SetCallbacks(QPortalUserCallbacks); }