Example #1
0
            public void Change(ChaControl charInfo)
            {
                bool isChangeSkip = this.IsChangeSkip;

                if (!isChangeSkip || this._useEyebrow)
                {
                    charInfo.ChangeEyebrowPtn(this.Eyebrow.Ptn, this.Eyebrow.Blend);
                }
                if (!isChangeSkip || this._useEyes)
                {
                    charInfo.ChangeEyesPtn(this.Eyes.Ptn, this.Eyes.Blend);
                }
                if (!isChangeSkip || this._useMouth)
                {
                    charInfo.ChangeMouthPtn(this.Mouth.Ptn, this.Mouth.Blend);
                }
                if (!isChangeSkip || this._useEyebrowOpen)
                {
                    charInfo.ChangeEyebrowOpenMax(this.EyebrowOpen);
                }
                if (!isChangeSkip || this._useEyesOpen)
                {
                    charInfo.ChangeEyesOpenMax(this.EyesOpen);
                }
                if (!isChangeSkip || this._useMouthOpen)
                {
                    charInfo.ChangeMouthOpenMax(this.MouthOpen);
                }
                if ((!isChangeSkip || this._useEyesLook) && this.EyesLook != -1)
                {
                    charInfo.ChangeLookEyesPtn(this.EyesLook);
                }
                if (!isChangeSkip || this._useHohoAkaRate)
                {
                    charInfo.ChangeHohoAkaRate(this.HohoAkaRate);
                }
                if (!isChangeSkip || this._useHighlight)
                {
                    charInfo.HideEyeHighlight(!this.IsHighlight);
                }
                if (!isChangeSkip || this._useTearsLv)
                {
                    charInfo.ChangeTearsRate(this.TearsRate);
                }
                if (this.IsChangeSkip && !this._useBlink)
                {
                    return;
                }
                charInfo.ChangeEyesBlinkFlag(this._useBlink);
            }