void Update() { float vol = GetVolume(); Mouth.SetBlendShapeWeight(6, SmoothMouth.SmoothValue(vol < 1 ? 0 : vol * 5)); }
void Update() { float vol = GetVolume(); GetComponent <MMD4MecanimModel>().GetMorph("あ").weight = SmoothMouth.SmoothValue(vol < 1 ? 0 : vol / 20); }
void Update() { float vol = GetVolume(); BlendShapeProxy.ImmediatelySetValue(A, SmoothMouth.SmoothValue(vol < 1 ? 0 : vol / 20)); }