Esempio n. 1
0
 public static void SelectionChanged(PoseController self)
 {
     if (self != null)
     {
         BonesEditor.SelectionChanged(self._bonesEditor);
         CollidersEditor.SelectionChanged(self._collidersEditor);
         DynamicBonesEditor.SelectionChanged(self._dynamicBonesEditor);
         CharaPoseController self2 = self as CharaPoseController;
         BoobsEditor.SelectionChanged(self2 != null ? self2._boobsEditor : null);
     }
     else
     {
         BonesEditor.SelectionChanged(null);
         CollidersEditor.SelectionChanged(null);
         DynamicBonesEditor.SelectionChanged(null);
         BoobsEditor.SelectionChanged(null);
     }
 }
Esempio n. 2
0
        public override void LoadFrom(PoseController other)
        {
            base.LoadFrom(other);
            if (other == null)
            {
                return;
            }
            CharaPoseController other2 = other as CharaPoseController;

            if (other2 != null)
            {
                this.optimizeIK               = other2.optimizeIK;
                this.crotchJointCorrection    = other2.crotchJointCorrection;
                this.leftFootJointCorrection  = other2.leftFootJointCorrection;
                this.rightFootJointCorrection = other2.rightFootJointCorrection;
                if (this._target.isFemale)
                {
                    this._boobsEditor.LoadFrom(other2._boobsEditor);
                }
            }
        }