🔧
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

TryGetSpawnPosition

function in SpawnPointsIDManager

Declaration

public bool TryGetSpawnPosition(int id, out Vector3 position);

Parameters

id

Spawner ID

out Position

Returns a Vector3 with the position of the spawner

Returns

Bool - True if id exists

Description

Get World Position of an id, checking if given id is true.

PreviousGetSpawnPositionNextWaveManager

Last updated 3 years ago