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(); } }
private static void sceneChanged(Scene old, Scene next) { TBA_DiscordRPC.sceneChanged(next); }