Пример #1
0
 public static T SpawnAs <T>(this ObjectsId id)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, (ushort)id));
 }
Пример #2
0
 public static T SpawnAs <T>(this ushort id, Transform parent)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, id, parent));
 }
Пример #3
0
 public static T SpawnAs <T>(this ushort id, Vector3 position)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, id, position));
 }
Пример #4
0
 public static T SpawnAs <T>(this ushort id)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, id));
 }
Пример #5
0
 public static T SpawnAs <T>(this ObjectsId id, Vector3 position, Quaternion rotation) where T : class
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, (ushort)id, position, rotation));
 }
Пример #6
0
 public static T SpawnAs <T>(this ObjectsId id, Vector2 position, Transform parent)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, (ushort)id, position, parent));
 }