public static async Task <Entity> AwaitShowTestEntity2(this EntityComponent entityComponent, TestEntity2Data data) { Entity entity = await entityComponent.AwaitShowEntity(typeof(TestEntity2), 0, data); return(entity); }
protected override void OnShow(object userData) { base.OnShow(userData); m_TestEntity2Data = (TestEntity2Data)userData; }
public static void ShowTestEntity2(this EntityComponent entityComponent, TestEntity2Data data) { entityComponent.ShowEntity(typeof(TestEntity2), 0, data); }