Publisher | GaspTools |
---|---|
File size | 73.36kB |
Number of files | 23 |
Latest version | 1 |
Latest release date | 2024-01-09 04:20:47 |
First release date | 2023-06-23 11:49:13 |
Supported Unity versions | 2018.4.2 or higher |
The Virtual Time asset is designed to help developers avoid changing the default Unity timescale, which can sometimes lead to unexpected behavior. Instead, it allows for the creation of virtual times with independent timescales, allowing for greater flexibility in managing time within a Unity application.
One of the key use cases for this asset is to enable the UI of a game to work on a separate timescale from the rest. For example, the world might need to be slowed down, while still having the UI be responsive and fast. With Virtual Time, this can be achieved by creating a virtual time specifically for the world, with a slower timescale than the main game time.
Another use case is to slow down or speed up specific behaviors within the game, without affecting the rest of the game. For example, a character's movement might need to be slowed down temporarily for dramatic effect, while other game mechanics continue to operate at their normal speed. With Virtual Time, this can be accomplished by creating a virtual time for the character's movement, with a slower timescale than the main game time.
Overall, the Virtual Time asset provides a powerful and flexible solution for managing time within a Unity application, enabling developers to create complex time hierarchies and precise control over time behavior. By avoiding changes to the default Unity timescale, the asset helps to minimize unexpected behavior and improve the overall quality of the application.