public override void OnApplicationStart() { if (!CheckWasSuccessful || !MustStayTrue || MustStayFalse) { return; } IkTweaksSettings.RegisterSettings(); VrIkHandling.HookVrIkInit(); if (MelonHandler.Mods.Any(it => it.Info.Name == "UI Expansion Kit" && !it.Info.Version.StartsWith("0.1."))) { AddUixActions(); } }
public override void OnApplicationStart() { IkTweaksSettings.RegisterSettings(); BundleHolder.Init(); ClassInjector.RegisterTypeInIl2Cpp <VRIK_New>(); ClassInjector.RegisterTypeInIl2Cpp <TwistRelaxer_New>(); VrIkHandling.HookVrIkInit(harmonyInstance); FullBodyHandling.HookFullBodyController(harmonyInstance); Camera.onPreRender = Delegate.Combine(Camera.onPreRender, (Camera.CameraCallback)OnVeryLateUpdate).Cast <Camera.CameraCallback>(); if (MelonHandler.Mods.Any(it => it.Info.Name == "UI Expansion Kit" && !it.Info.Version.StartsWith("0.1."))) { AddUixActions(); } }
public override void OnUpdate() { VrIkHandling.Update(); ourHadUpdateThisFrame = false; }