🔧
SpawnerTool
API
API
  • API
  • Changelog
  • Runtime
    • SpawnPointsIDManager
      • GetSpawnPosition
      • TryGetSpawnPosition
    • WaveManager
      • StartRound
    • Timer
      • Timer
      • Tick
      • GetCountDownTimer
      • GetCountUpTimer
    • EnemySpawner
      • EnemySpawner
      • Tick
      • IsSpawnerFinished
  • Data
    • SpawnerGraph
      • GetAllRounds
      • GetSpawnEnemyDataByTime
      • ResetGraphState
      • ResetGraphRoundState
    • Round
    • SpawnEnemyData
    • EnemyFactory
      • GetIdToPrefab
      • GetEnemyPrefab
    • ProjectSettings
      • GetEnemyNames
      • GetEnemyColor
      • SetEnemyColor
  • Editor
    • Editor API
Powered by GitBook
On this page
  • Declaration
  • Parameters
  • Returns
  • Description
  1. Runtime
  2. SpawnPointsIDManager

GetSpawnPosition

function in SpawnPointsIDManager

Declaration

public Vector3 GetSpawnPosition(int id);

Parameters

id

Spawner ID

Returns

Vector3 - Returns spawner position

Description

Get World Position of an id. If id doesn't exists, it will cause null errors.

PreviousSpawnPointsIDManagerNextTryGetSpawnPosition

Last updated 3 years ago