예제 #1
0
 public SkeletonModifier(SkeletonModifier importedModifier)
 {
     hashName = importedModifier.hashName;
     hash     = importedModifier.hash;
     property = importedModifier.property;
     valuesX  = importedModifier.valuesX;
     valuesY  = importedModifier.valuesY;
     valuesZ  = importedModifier.valuesZ;
     umaDNA   = importedModifier.umaDNA;
 }
예제 #2
0
 public SkeletonModifier(SkeletonModifier importedModifier, bool doUpgrade = false)
 {
     this._hashName = importedModifier._hashName;
     this._hash     = importedModifier._hash;
     this._property = importedModifier._property;
     this._valuesX  = new spVal(importedModifier._valuesX);
     this._valuesY  = new spVal(importedModifier._valuesY);
     this._valuesZ  = new spVal(importedModifier._valuesZ);
     this._umaDNA   = importedModifier._umaDNA;          //dont think this should have ever been serialized
     if (doUpgrade)
     {
         UpgradeToDNAEvaluators();
     }
 }