Publisher | Healthbar Games |
---|---|
File size | 13.67MB |
Number of files | 46 |
Latest version | 1 |
Latest release date | 2019-03-12 10:23:10 |
First release date | 2018-08-24 08:09:10 |
Supported Unity versions | 2018.4.2 or higher |
Traffic Lights System adds simulations of traffic light modules to your game or other 3D applications.
It consists of three components:
• Manager controlling actuation of the successive phases of the simulation
• A component representing a single phase
• A component representing the traffic light module containing red, yellow and green light
The simulation is divided into user defined phases. Each phase groups traffic light modules which should be switched on at the same time and defines timings for lights.
Each phase from the start to the end, goes through the sequence of states:
1. PrepareToGo - lights up red and yellow light
2. Go - lights up green light
3. PrepareToStop - lights up yellow light
4. Stop - lights up red light
Duration of each stage can be set independently for each phase.
Upon completion of the current phase, the manager waits for a defined period of time and starts the next phase from the list of phases. At the end of the list, manager restarts to the first phase and the whole process starts again.
In addition, the manager has two modes (two programs):
• Main - normal operation
• Malfunction - failure (all light modules from all phases have yellow light blinking)
You can specify the default program which is run by the manager after the start of the scene and change it from a script.
Healthbar Games
[email protected]
www.healthbargames.pl
www.twitter.com/HealthbarGames
www.facebook.com/HealthbarGames
www.youtube.com/channel/UCiCdifoEyr7FVLtELkuM_Qw