示例#1
0
        public static void InitCharaListPostfix(CharaList __instance)
        {
            bool flag = string.Equals(__instance.name, "00_Female") == (SampleChara.chaFile.parameter.sex == 1);

            if (KoikatuHelper.TryGetPluginInstance("com.jim60105.kk.studioallgirlsplugin"))
            {
                flag = true;
            }
            if (flag && null == UnityEngine.GameObject.Find($"StudioScene/Canvas Main Menu/01_Add/{__instance.name}/redBagBtn"))
            {
                FBIOpenUp.nowGameMode = FBIOpenUp.GameMode.Studio;
                UnityStuff.DrawRedBagBtn(FBIOpenUp.GameMode.Studio, __instance);
            }
        }
示例#2
0
文件: FBIOpenUp.cs 项目: jim60105/KK
 public void Update() => UnityStuff.Update();
示例#3
0
 public static void StartPostfix_FreeH(HSceneProc __instance)
 {
     hSceneProc = __instance;
     UnityStuff.DrawRedBagBtn(FBIOpenUp.GameMode.FreeH, 1);
     UnityStuff.DrawRedBagBtn(FBIOpenUp.GameMode.FreeH, 2);
 }
示例#4
0
 public static void StartPostfix_MainGame()
 {
     UnityStuff.DrawRedBagBtn(FBIOpenUp.GameMode.MainGame);
 }