protected override void OnLoadData() { base.OnLoadData(); if (m_DataText != null) { m_Data = TinyJSON.JSON.Load(m_DataText.text).Make <CCubeData>(); } }
public override void SetData(CObjectData value) { base.SetData(value); m_Data = value as CCubeData; }