Ejemplo n.º 1
0
        static void OnGUI(UnityModManager.ModEntry modEntry)
        {
            GUILayout.BeginHorizontal();
            GUILayout.Label("<color=#87CEEB>此 mod 旨在保留游戏性的前提下减少机械性劳动. 强烈建议每个被简化的功能都至少手动执行过一百次, 再来使用此 mod.</color>\n");
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            Main.settings.autoRead = GUILayout.Toggle(Main.settings.autoRead,
                                                      "自动读书 (需难度 50% 及以下, 且耐心和悟性满足需求. 在进入读书界面后自动进行.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            Main.settings.autoBreakThrough = GUILayout.Toggle(Main.settings.autoBreakThrough,
                                                              "自动突破 (需难度 100% 及以下. 在关闭突破窗口时自动进行.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            Main.settings.quickKill = GUILayout.Toggle(Main.settings.quickKill,
                                                       "快速杀敌 (精纯高于敌方时, 可按 K 键秒杀. 可能会导致 NPC 战后不治身亡.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            Main.settings.autoSearchSamsara = GUILayout.Toggle(Main.settings.autoSearchSamsara,
                                                               "自动搜寻轮回台合适人选 (在进入轮回台界面后自动进行. 信息将显示在 UMM 的日志页面.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            if (GUILayout.Button("人口统计"))
            {
                PopulationStats.Show();
            }
            GUILayout.Label("(点击按钮后, 统计信息将显示在 UMM 的日志页面. 请在存档载入后再进行统计.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();
        }
Ejemplo n.º 2
0
        static void OnGUI(UnityModManager.ModEntry modEntry)
        {
            GUILayout.BeginHorizontal();
            GUILayout.Label("<color=#87CEEB>此 mod 旨在保留游戏性的前提下减少机械性劳动. 强烈建议每个被简化的功能都至少手动执行过一百次, 再来使用此 mod.</color>\n");
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            GUILayout.Label("-自动读书 (需难度 50% 及以下, 且耐心和悟性满足需求. 在进入读书界面后自动进行.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            GUILayout.Label("-自动突破 (需难度 100% 及以下. 在关闭突破窗口时自动进行.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            GUILayout.Label("-快速杀敌 (精纯高于敌方时, 可按 K 键秒杀. 可能会导致 NPC 战后不治身亡.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            GUILayout.Label("-自动搜寻轮回台合适人选 (在进入轮回台界面后自动进行. 信息将显示在 UMM 的日志页面.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.BeginHorizontal();
            GUILayout.Label("-");
            if (GUILayout.Button("人口统计"))
            {
                PopulationStats.Show();
            }
            GUILayout.Label("(点击按钮后, 统计信息将显示在 UMM 的日志页面. 请在存档载入后再进行统计.)");
            GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();
        }