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