diff --git a/ml_lme/LeapTracked.cs b/ml_lme/LeapTracked.cs index 7ef3a7a..7f97c1c 100644 --- a/ml_lme/LeapTracked.cs +++ b/ml_lme/LeapTracked.cs @@ -292,8 +292,8 @@ namespace ml_lme } else { - m_vrIK.onPreSolverUpdate.AddListener(this.OnIKPreUpdate); - m_vrIK.onPostSolverUpdate.AddListener(this.OnIKPostUpdate); + m_vrIK.solver.OnPreUpdate += this.OnIKPreUpdate; + m_vrIK.solver.OnPostUpdate += this.OnIKPostUpdate; } l_poseHandler?.Dispose();