Example #1
0
 public static T SpawnAs <T>(this ObjectsId id)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, (ushort)id));
 }
Example #2
0
 public static T SpawnAs <T>(this ushort id, Transform parent)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, id, parent));
 }
Example #3
0
 public static T SpawnAs <T>(this ushort id, Vector3 position)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, id, position));
 }
Example #4
0
 public static T SpawnAs <T>(this ushort id)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, id));
 }
Example #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));
 }
Example #6
0
 public static T SpawnAs <T>(this ObjectsId id, Vector2 position, Transform parent)
 {
     return(FactorySpawnExtenstion.Spawn <T>(null, (ushort)id, position, parent));
 }