예제 #1
0
        public static async Task <Entity> AwaitShowTestEntity2(this EntityComponent entityComponent, TestEntity2Data data)
        {
            Entity entity = await entityComponent.AwaitShowEntity(typeof(TestEntity2), 0, data);

            return(entity);
        }
예제 #2
0
 protected override void OnShow(object userData)
 {
     base.OnShow(userData);
     m_TestEntity2Data = (TestEntity2Data)userData;
 }
예제 #3
0
 public static void ShowTestEntity2(this EntityComponent entityComponent, TestEntity2Data data)
 {
     entityComponent.ShowEntity(typeof(TestEntity2), 0, data);
 }