public static void ShowTestEntity(this EntityComponent entityComponent, TestEntityData data) { entityComponent.ShowEntity(typeof(TestEntity), 0, data); }
protected override void OnShow(object userData) { base.OnShow(userData); m_TestEntityData = (TestEntityData)userData; }
public static async Task <Entity> AwaitShowTestEntity(this EntityComponent entityComponent, TestEntityData data) { Entity entity = await entityComponent.AwaitShowEntity(typeof(TestEntity), 0, data); return(entity); }