public void OnDestroy()
 {
     if (PlayFabEditor.IsEventHandlerRegistered(StateUpdateHandler))
     {
         PlayFabEditor.EdExStateUpdate -= StateUpdateHandler;
     }
 }
 //CTOR
 static PlayFabEditorSettings()
 {
     if (!PlayFabEditor.IsEventHandlerRegistered(StateUpdateHandler))
     {
         PlayFabEditor.EdExStateUpdate += StateUpdateHandler;
     }
 }
Example #3
0
 public SubMenuComponent()
 {
     if (!PlayFabEditor.IsEventHandlerRegistered(StateUpdateHandler))
     {
         PlayFabEditor.EdExStateUpdate += StateUpdateHandler;
     }
 }
        static PlayFabEditorDataMenu()
        {
            if (!PlayFabEditor.IsEventHandlerRegistered(StateUpdateHandler))
            {
                PlayFabEditor.EdExStateUpdate += StateUpdateHandler;
            }

            RegisterMenu();
        }