Esempio n. 1
0
 public SkeletonModifier(string _hashName, int _hash, SkeletonPropType _propType)
 {
     this._hashName = _hashName;
     this._hash     = _hash;
     this._property = _propType;
     this._valuesX  = new spVal(skelAddDefaults[_propType]);
     this._valuesY  = new spVal(skelAddDefaults[_propType]);
     this._valuesZ  = new spVal(skelAddDefaults[_propType]);
 }
Esempio n. 2
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;
 }
Esempio n. 3
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();
     }
 }