public void SetHumanPose(ref HumanPose humanPose) { humanPose.Init(); if (this.Internal_SetHumanPose(ref humanPose.bodyPosition, ref humanPose.bodyRotation, humanPose.muscles)) return; Debug.LogWarning((object) "HumanPoseHandler is not initialized properly"); }
public void GetHumanPose(ref HumanPose humanPose) { humanPose.Init(); if (!this.Internal_GetHumanPose(ref humanPose.bodyPosition, ref humanPose.bodyRotation, humanPose.muscles)) { Debug.LogWarning("HumanPoseHandler is not initialized properly"); } }
public void SetInternalHumanPose(ref HumanPose humanPose) { if (m_Ptr == IntPtr.Zero) { throw new NullReferenceException("HumanPoseHandler is not initialized properly"); } humanPose.Init(); SetInternalHumanPose(ref humanPose.bodyPosition, ref humanPose.bodyRotation, humanPose.muscles); }
public void GetInternalHumanPose(ref HumanPose humanPose) { bool flag = this.m_Ptr == IntPtr.Zero; if (flag) { throw new NullReferenceException("HumanPoseHandler is not initialized properly"); } humanPose.Init(); this.GetInternalHumanPose(out humanPose.bodyPosition, out humanPose.bodyRotation, humanPose.muscles); }