public override void Import(DCFG cfg) { LvlObj data = cfg as LvlObj; this.Id = data.Id; this.Type = data.Type; this.Pos = data.Pos; this.Euler = data.Euler; }
public override DCFG Export() { LvlObj data = new LvlObj(); data.Id = this.Id; data.Type = this.Type; data.Pos = this.Pos; data.Euler = this.Euler; return(data); }