Пример #1
0
 private static void LogPlayModeState(PlayModeStateChange state)
 {
     if (state == PlayModeStateChange.EnteredEditMode)
     {
         TBA_DiscordRPC.updateState(RpcState.EDITMODE);
         TBA_DiscordRPC.ResetTime();
     }
     else if (state == PlayModeStateChange.EnteredPlayMode)
     {
         TBA_DiscordRPC.updateState(RpcState.PLAYMODE);
         TBA_DiscordRPC.ResetTime();
     }
 }
Пример #2
0
 private static void sceneChanged(Scene old, Scene next)
 {
     TBA_DiscordRPC.sceneChanged(next);
 }