public static TDCGObjectData Clone(TDCGObjectData instance)
 {
     var tmp = new TDCGObjectData ();
     tmp.ID = instance.ID;
     tmp.Name = instance.Name;
     tmp.GameType = instance.GameType;
     tmp.Description = instance.Description;
     tmp.ModelPath = instance.ModelPath;
     tmp.FSMPath = instance.FSMPath;
     tmp.Icon = instance.Icon;
     tmp.Duration = instance.Duration;
     tmp.CreatureType = instance.CreatureType;
     tmp.Inventory = instance.Inventory;
     tmp.IsShine = instance.IsShine;
     return tmp;
 }
 public override void SetData(TDCBaseData data)
 {
     m_Data = data as TDCGObjectData;
 }
 public TDCObject(TDCBaseController ctrl, TDCBaseData data)
     : base(ctrl, data)
 {
     m_Controller = ctrl as TDCObjectController;
     m_Data = data as TDCGObjectData;
 }