mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 22:39:22 +00:00
[AlternateIKSystem] Make resharper shut up
This commit is contained in:
parent
3f4de3ed7f
commit
dc2916e8e6
3 changed files with 5 additions and 6 deletions
|
@ -109,6 +109,6 @@ internal class IKSystemPatches
|
|||
private static void Prefix_IKSystem_InitializeAvatar(ref bool __runOriginal)
|
||||
{
|
||||
// Don't setup with native IKSystem
|
||||
__runOriginal = !ModSettings.EntryEnabled.Value;
|
||||
__runOriginal &= !ModSettings.EntryEnabled.Value;
|
||||
}
|
||||
}
|
|
@ -32,8 +32,8 @@ internal abstract class IKHandler
|
|||
// Solver Info
|
||||
internal float _scaleDifference = 1f;
|
||||
internal float _locomotionWeight = 1f;
|
||||
internal float _ikSimulatedRootAngle = 0f;
|
||||
internal bool _wasTrackingLocomotion = false;
|
||||
internal float _ikSimulatedRootAngle;
|
||||
internal bool _wasTrackingLocomotion;
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ using NAK.AlternateIKSystem.IK.IKHandlers;
|
|||
using NAK.AlternateIKSystem.VRIKHelpers;
|
||||
using RootMotion.FinalIK;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
namespace NAK.AlternateIKSystem.IK;
|
||||
|
||||
|
@ -256,8 +255,8 @@ public class IKManager : MonoBehaviour
|
|||
SetAvatarPose(AvatarPose.Initial);
|
||||
|
||||
VRIKUtils.ApplyScaleToVRIK(_vrik, _ikHandler._locomotionData, 1f);
|
||||
_vrik.onPreSolverUpdate.AddListener(new UnityAction(OnPreSolverUpdateGeneral));
|
||||
_vrik.onPostSolverUpdate.AddListener(new UnityAction(OnPostSolverUpdateGeneral));
|
||||
_vrik.onPreSolverUpdate.AddListener(OnPreSolverUpdateGeneral);
|
||||
_vrik.onPostSolverUpdate.AddListener(OnPostSolverUpdateGeneral);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue