Exemplo n.º 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);
            }
        }
Exemplo n.º 2
0
 public void Update() => UnityStuff.Update();
Exemplo n.º 3
0
 public static void StartPostfix_FreeH(HSceneProc __instance)
 {
     hSceneProc = __instance;
     UnityStuff.DrawRedBagBtn(FBIOpenUp.GameMode.FreeH, 1);
     UnityStuff.DrawRedBagBtn(FBIOpenUp.GameMode.FreeH, 2);
 }
Exemplo n.º 4
0
 public static void StartPostfix_MainGame()
 {
     UnityStuff.DrawRedBagBtn(FBIOpenUp.GameMode.MainGame);
 }