示例#1
0
 public SubMenuComponent()
 {
     if (!PlayFabEditor.IsEventHandlerRegistered(StateUpdateHandler))
     {
         PlayFabEditor.EdExStateUpdate += StateUpdateHandler;
     }
 }
示例#2
0
 public void OnDestroy()
 {
     if (PlayFabEditor.IsEventHandlerRegistered(StateUpdateHandler))
     {
         PlayFabEditor.EdExStateUpdate -= StateUpdateHandler;
     }
 }
示例#3
0
 static PlayFabEditorDataMenu()
 {
     if (!PlayFabEditor.IsEventHandlerRegistered(StateUpdateHandler))
     {
         PlayFabEditor.EdExStateUpdate += StateUpdateHandler;
     }
 }