1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-11 08:33:34 +08:00

Add HideTips

This commit is contained in:
2022-08-27 20:10:40 +08:00
parent d692342fb7
commit f871d5ccd5
5 changed files with 101 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ public class DevShortcuts : BaseUnityPlugin
[HarmonyPostfix]
[HarmonyPatch(typeof(PlayerController), "Init")]
static void PlayerControllerInit(ref PlayerAction[] ___actions, Player ___player)
private static void PlayerControllerInit(ref PlayerAction[] ___actions, Player ___player)
{
var cnt = ___actions.Length;
var newActions = new PlayerAction[cnt + 1];
@@ -35,7 +35,7 @@ public class DevShortcuts : BaseUnityPlugin
[HarmonyPostfix]
[HarmonyPatch(typeof(PlayerAction_Test), "GameTick")]
static void PlayerAction_TestGameTick(PlayerAction_Test __instance, long timei)
private static void PlayerAction_TestGameTick(PlayerAction_Test __instance, long timei)
{
__instance.Update();
}