Exemple #1
0
        //-----------------------------------------------------------------------------------
        public override CommandNode DeepClone(GameObject dataHolder)
        {
            CNCorpuscles clone = CommandNode.CreateInstance <CNCorpuscles>(dataHolder);

            CloneData(clone);
            return(clone);
        }
Exemple #2
0
        //-----------------------------------------------------------------------------------
        protected override void CloneData(CommandNode node)
        {
            base.CloneData(node);

            CNCorpuscles clone = (CNCorpuscles)node;

            clone.corpusclesRadius_ = corpusclesRadius_;
        }
Exemple #3
0
 public CNCorpusclesEditor(CNCorpuscles data, CNCorpusclesEditorState state)
     : base(data, state)
 {
     Data   = (CNCorpuscles)data;
     state_ = state;
 }