public ParamBackup() { bust = new ParamBustOrg(); backupedBust = false; hip = new ParamHipOrg(); backupedHip = false; }
public static bool ApplyParamBust(ParamBustOrg source, DynamicBone_Ver02 target) { //For Params //Parameter Patterns[0]="通常" //target.Gravity.Set(source.gravity.x,source.gravity.y,source.gravity.z); target.setGravity(0, source.gravity); for (int i = 0; i < target.Patterns[0].Params.Count; i++) { source.parameters[i].CopyParameterTo(target.Patterns[0].Params[i]); } //For ParticlePtn //ParticlePtn Patterns[0]="通常" CopyParamsToParticlePtn(target); //For Particle. Must set at last. target.setPtn(0, true); return(true); }