Пример #1
0
 public static EcsEntity CreateEntityWith <C1, C2, C3> (this EcsWorld world, out C1 c1, out C2 c2, out C3 c3) where C1 : class where C2 : class where C3 : class
 {
     return(world.NewEntityWith(out c1, out c2, out c3));
 }
Пример #2
0
 public static EcsEntity CreateEntityWith <C1> (this EcsWorld world, out C1 c1) where C1 : class
 {
     return(world.NewEntityWith(out c1));
 }