2023-04-08 17:59:17 +01:00
|
|
|
|
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()
|
2023-04-08 17:59:17 +01:00
|
|
|
|
{
|
|
|
|
|
CWX_GameObject = new GameObject("CWX_GameObject");
|
|
|
|
|
CWX_Component = CWX_GameObject.AddComponent<AlarmChangerScript>();
|
2023-10-06 18:46:03 +01:00
|
|
|
|
DontDestroyOnLoad(CWX_GameObject);
|
2023-04-08 17:59:17 +01:00
|
|
|
|
|
|
|
|
|
new AlarmChangerPatch().Enable();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|