🔧
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
  • Description
  • Events
  • Public Methods
  1. Runtime

Timer

class in SpawnerTool.Runtime

PreviousStartRoundNextTimer

Last updated 3 years ago

Description

This class gives all functionalities you need for a timer.

Events

event Action

OnTimerEnd

Timer actioned when timer finishes time.

Public Methods

Constructor of the timer class

Makes time pass

Get current time counting from Duration towards 0

Get current time counting from 0 to Duration.

Timer
Tick
GetCountDownTimer
GetCountUpTimer