Example #1
0
        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();
            }
        }
Example #2
0
        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();
            }
        }
Example #3
0
 public override void OnUpdate()
 {
     VrIkHandling.Update();
     ourHadUpdateThisFrame = false;
 }