33 lines
957 B
C#
33 lines
957 B
C#
using BepInEx;
|
|
using GorillaCaptions.Classes.Admin;
|
|
using GorillaCaptions.Managers.DiscordRPC;
|
|
using UnityEngine;
|
|
|
|
namespace GorillaCaptions;
|
|
|
|
[BepInPlugin(Constants.Guid, Constants.Name, Constants.Version)]
|
|
public class Plugin : BaseUnityPlugin
|
|
{
|
|
public static Plugin instance;
|
|
|
|
void Awake()
|
|
{
|
|
instance = this;
|
|
Debug.Log("<Deez's GorillaCaptions> Created by Deez <3");
|
|
}
|
|
|
|
void Start()
|
|
{
|
|
HarmonyPatches.ApplyHarmonyPatches();
|
|
|
|
GameObject ClassHolder = new("Deez's GorillaCaptions");
|
|
ClassHolder.AddComponent<DiscordRpc>();
|
|
ClassHolder.AddComponent<DeezData>();
|
|
ClassHolder.AddComponent<TrackerManager>();
|
|
ClassHolder.AddComponent<Managers.SynthesizerManager>();
|
|
ClassHolder.AddComponent<Managers.BubbleManager>();
|
|
DontDestroyOnLoad(ClassHolder);
|
|
|
|
Debug.Log("<Deez's GorillaCaptions> Fully intialized");
|
|
}
|
|
} |