[DesktopVRIK] Cleanup

This commit is contained in:
NotAKidoS 2023-09-25 14:26:03 -05:00
parent 497b0b0e7a
commit 32456e0055
5 changed files with 17 additions and 17 deletions

View file

@ -61,10 +61,7 @@ public class IKManager : MonoBehaviour
private void Update()
{
if (_ikHandler == null)
return;
_ikHandler.UpdateWeights();
_ikHandler?.UpdateWeights();
}
#endregion
@ -214,6 +211,11 @@ public class IKManager : MonoBehaviour
#region Public Methods
public bool IsAvatarInitialized()
{
return _isAvatarInitialized;
}
public Vector3 GetPlayerPosition()
{
if (!MetaPort.Instance.isUsingVr)