🔧
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
  1. Data
  2. ProjectSettings

GetEnemyColor

function in ProjectSettings

Declaration

public Color GetEnemyColor(string enemyType);

Parameters

enemyType

Type of enemy you want to get the color

Returns

Color - Returns color given enemyType. If enemyType is not found, it returns White color.

PreviousGetEnemyNamesNextSetEnemyColor

Last updated 3 years ago