Traffic Lights System SE
Healthbar Games
$10.00
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
08/25(2018) |
10.0 |
11/19(2024) |
10.0 |
Jump AssetStore
Website
|
Project
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.