//----------------------------------------------------------------------------------- public override CommandNode DeepClone(GameObject dataHolder) { CNCorpuscles clone = CommandNode.CreateInstance <CNCorpuscles>(dataHolder); CloneData(clone); return(clone); }
//----------------------------------------------------------------------------------- protected override void CloneData(CommandNode node) { base.CloneData(node); CNCorpuscles clone = (CNCorpuscles)node; clone.corpusclesRadius_ = corpusclesRadius_; }
public CNCorpusclesEditor(CNCorpuscles data, CNCorpusclesEditorState state) : base(data, state) { Data = (CNCorpuscles)data; state_ = state; }