UnityEditor.AvatarMuscleEditor.WritePose C# (CSharp) Method

WritePose() protected method

protected WritePose ( ) : void
return void
        protected void WritePose()
        {
            if (base.gameObject != null)
            {
                Animator component = base.gameObject.GetComponent(typeof(Animator)) as Animator;
                if (component != null)
                {
                    Avatar avatar = component.avatar;
                    if (((avatar != null) && avatar.isValid) && avatar.isHuman)
                    {
                        AvatarUtility.SetHumanPose(component, this.m_MuscleValue);
                        SceneView.RepaintAll();
                    }
                }
            }
        }