Example #1
0
        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;
            }



            //创建图片
        }
Example #2
0
 public static void ShowBiology(this EntityComponent entityComponent, BiologyData data)
 {
     entityComponent.ShowBiology(typeof(Biology), "Biology", data);
 }