Ejemplo n.º 1
0
    public TDCSun(TDCBaseController ctrl, TDCBaseData data)
        : base(ctrl, data)
    {
        m_Controller = ctrl as TDCSunController;
        m_Data = data as TDCSunData;

        m_IntensityOffset = new TDCObjectProperty<float>("IntensityOffset");

        RegisterProperty(m_IntensityOffset);
    }
Ejemplo n.º 2
0
 public static TDCSunData Clone(TDCSunData instance)
 {
     var tmp = new TDCSunData ();
     tmp.ID = instance.ID;
     tmp.Name = instance.Name;
     tmp.GameType = instance.GameType;
     tmp.Description = instance.Description;
     tmp.Icon = instance.Icon;
     tmp.FSMPath = instance.FSMPath;
     tmp.ModelPath = instance.ModelPath;
     tmp.ActiveSkill = instance.ActiveSkill;
     return tmp;
 }
Ejemplo n.º 3
0
 public override void SetData(TDCBaseData data)
 {
     m_Data = data as TDCSunData;
 }