mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2026-03-30 10:06:42 +00:00
mass commit of laziness
This commit is contained in:
parent
ce992c70ee
commit
6d4fc549d9
167 changed files with 5471 additions and 675 deletions
21
.Experimental/DummyMenu/Main.cs
Normal file
21
.Experimental/DummyMenu/Main.cs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
using ABI_RC.Systems.GameEventSystem;
|
||||
using MelonLoader;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NAK.DummyMenu;
|
||||
|
||||
public class DummyMenuMod : MelonMod
|
||||
{
|
||||
internal static MelonLogger.Instance Logger;
|
||||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
Logger = LoggerInstance;
|
||||
CVRGameEventSystem.Initialization.OnPlayerSetupStart.AddListener(CreateDummyMenu.Create);
|
||||
}
|
||||
|
||||
public override void OnUpdate()
|
||||
{
|
||||
if (Input.GetKeyDown(ModSettings.EntryToggleDummyMenu.Value)) DummyMenuManager.Instance.ToggleView();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue