CWX-mods/Live/CWX_AlarmChanger/AlarmChanger.cs

23 lines
591 B
C#
Raw Normal View History

using BepInEx;
using UnityEngine;
namespace CWX_AlarmChanger
{
[BepInPlugin("com.cwx.alarmchanger", "cwx-alarmchanger", "1.0.0")]
public class AlarmChanger : BaseUnityPlugin
{
public static GameObject CWX_GameObject;
public static AlarmChangerScript CWX_Component;
2023-10-06 18:46:03 +01:00
public void Start()
{
CWX_GameObject = new GameObject("CWX_GameObject");
CWX_Component = CWX_GameObject.AddComponent<AlarmChangerScript>();
2023-10-06 18:46:03 +01:00
DontDestroyOnLoad(CWX_GameObject);
new AlarmChangerPatch().Enable();
}
}
}