Exemple #1
0
 protected override void OnLoadData()
 {
     base.OnLoadData();
     this.m_Data = new CCharacterData();
     if (this.GetDataUpdate())
     {
         this.m_Data = TinyJSON.JSON.Load(m_DataText.text).Make <CCharacterData> ();
     }
 }
Exemple #2
0
 public override void SetData(CObjectData value)
 {
     base.SetData(value);
     m_Data = value as CCharacterData;
 }