public override void OnApplicationStart() { ConsoleUtil.SetTitle("Funeral Client V2 = Developed by Yaekith"); Configuration.CheckExistence(); DiscordRPC.Start(); Modules.Add(new GeneralHandlers()); ConsoleUtil.Info("Waiting for VRChat UI Manager to Initialise.."); }
public override void VRChat_OnUiManagerInit() { new MainMenu(GeneralUtils.GetMClientVRButton("MainMenu")); DiscordRPC.Start(); for (int i = 0; i < GeneralUtils.Modules.Count; i++) { GeneralUtils.Modules[i].OnUiLoad(); } }
public override void VRChat_OnUiManagerInit() { #region Adding Main Menu Buttons new MainMenu(GeneralUtils.GetEthosVRButton("MainMenu")); #endregion #region Setting up Discord Rich Presence DiscordRPC.Start(); #endregion #region Loading Modules for (int i = 0; i < GeneralUtils.Modules.Count; i++) { GeneralUtils.Modules[i].OnUiLoad(); } #endregion }