TurretSpawner¶
Members¶
Member |
Description |
---|---|
Methods¶
Method |
Description |
---|---|
Static methods¶
Method |
Description |
---|---|
Get the turret prefab for the specified team and type. |
|
Spawns a turret of the specified type |
Details¶
-
class
TurretSpawner
¶ -
-
const GameObject
gameObject
¶
-
SpawnPoint
parentSpawnPoint
¶
-
const TurretSpawnType
spawnType
¶
-
string
ToString
()¶
-
static GameObject
GetPrefab
(Team team, TurretSpawnType type)¶ Get the turret prefab for the specified team and type.
-
static Vehicle
GetPrefabVehicle
(Team team, TurretSpawnType type)¶
-
static Vehicle
SpawnTurret
(Team team, TurretSpawnType type, Vector3 position, Quaternion rotation)¶ Spawns a turret of the specified type
-
const GameObject