public override CommandNode DeepClone(GameObject dataHolder) { CNJet clone = CNJet.CreateInstance <CNJet>(dataHolder); CloneData(clone); return(clone); }
public override CommandNode DeepClone(GameObject dataHolder) { CNJet clone = CNJet.CreateInstance <CNJet>(dataHolder); clone.field_ = Field.DeepClone(); clone.locators_ = Locators.DeepClone(); clone.Name = Name; clone.Timer = Timer; clone.force_ = Force; clone.speedLimit_ = SpeedLimit; clone.forceDeltaMax_ = forceDeltaMax_; clone.angleDeltaMax_ = angleDeltaMax_; clone.periodTime_ = periodTime_; clone.periodSpace_ = periodSpace_; clone.highFrequency_am_ = highFrequency_am_; clone.highFrequency_sp_ = highFrequency_sp_; return(clone); }