protected internal override void OnShow(object userData) #endif { base.OnShow(userData); m_MyHumanData = userData as HumanData; if (m_MyHumanData == null) { Log.Error("My Human data is invalid."); return; } }
public HumanData CreateMyRole(HumanData data) { GameEntry.DataServer.HumanServer.Add(data); MyHumanData = data; return(MyHumanData); }
public static void ShowMyRole(this EntityComponent entityComponent, HumanData data) { entityComponent.ShowEntity(typeof(MyHuman), "Human", Constant.AssetPriority.MyHumanAsset, data); }