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

            return(entity);
        }