public static void InitCharaListPostfix(CharaList __instance) { bool flag = string.Equals(__instance.name, "00_Female") == (SampleChara.chaFile.parameter.sex == 1); if (Extension.Extension.TryGetPluginInstance("com.jim60105.kk.studioallgirlsplugin")) { flag = true; } if (flag && null == UnityEngine.GameObject.Find($"StudioScene/Canvas Main Menu/01_Add/{__instance.name}/redBagBtn")) { KK_FBIOpenUp.nowGameMode = KK_FBIOpenUp.GameMode.Studio; UnityStuff.DrawRedBagBtn(KK_FBIOpenUp.GameMode.Studio, __instance); } }
public static void StartPostfix_FreeH(HSceneProc __instance) { hSceneProc = __instance; UnityStuff.DrawRedBagBtn(KK_FBIOpenUp.GameMode.FreeH, 1); UnityStuff.DrawRedBagBtn(KK_FBIOpenUp.GameMode.FreeH, 2); }
public static void StartPostfix_MainGame() { UnityStuff.DrawRedBagBtn(KK_FBIOpenUp.GameMode.MainGame); }
public void Update() => UnityStuff.Update();