protected internal override void OnShow(object userData) #endif { base.OnShow(userData); m_BioloyData = userData as BiologyData; if (m_BioloyData == null) { Log.Error("m_BioloyData data is invalid."); return; } //创建图片 }
public static void ShowBiology(this EntityComponent entityComponent, BiologyData data) { entityComponent.ShowBiology(typeof(Biology), "Biology", data); }