TurretSpawner

Members

Member

Description

activeTurret

gameObject

parentSpawnPoint

spawnType

transform

Methods

Method

Description

SpawnTurret(team)

Spawns a turret for the specified team.

ToString()

Static methods

Method

Description

SpawnTurret(team, type, position, rotation)

Spawns a turret of the specified type

SpawnTurret(team, type, position, rotation, tier)

Spawns a turret of the specified type

Details

class TurretSpawner
const Vehicle activeTurret
const GameObject gameObject
SpawnPoint parentSpawnPoint
const TurretSpawnType spawnType
const Transform transform
Vehicle SpawnTurret(Team team)

Spawns a turret for the specified team. This will throw an error if the turret spawned behaviour is not set to Scripted.

string ToString()
static Vehicle SpawnTurret(Team team, TurretSpawnType type, Vector3 position, Quaternion rotation)

Spawns a turret of the specified type

static Vehicle SpawnTurret(Team team, TurretSpawnType type, Vector3 position, Quaternion rotation, RarityTier tier)

Spawns a turret of the specified type