Пример #1
0
 static bool Prefix(uGUI_OptionsPanel __instance)
 {
     __instance.AddGeneralTab();
     __instance.AddGraphicsTab();
     if (GameInput.IsKeyboardAvailable())
     {
         __instance.AddKeyboardTab();
     }
     if (GameInput.IsControllerAvailable())
     {
         __instance.AddControllerTab();
     }
     __instance.AddAccessibilityTab();
     if (!PlatformUtils.isConsolePlatform)
     {
         __instance.AddTroubleshootingTab();
     }
     if (__instance != null)
     {
         AddJukeBoxTab(__instance);
     }
     return(false);
 }