Publisher | Cerborus |
---|---|
File size | 692.28kB |
Number of files | 8 |
Latest version | 1.0.0 |
Latest release date | 2022-12-02 11:34:11 |
First release date | 2022-12-02 11:34:11 |
Supported Unity versions | 2018.4.2 or higher |
The Unity Engine is a powerful piece of software that makes a ton of awesome results possible. As long as you can stay in the Unity Eco System, you'll be fine. But since it is inevitable to have subsystems that run independently of the Unity thread but need to access it, a problem arises here.
Some examples of such subsystems are:
- Thread based systems
- Network based systems
- CAN / LIN / Serial Bus systems
- etc.
These systems operate at their own speed and thus must be synchronized with the Unity thread. If the systems are not synchronized, the interactions with Unity outside the thread will almost always not be invoked. There are “happy accidents” where the interactions go through, but randomness is mostly not the goal of programming.
The components of this asset help synchronize with the Unity thread.
Sync
With this component, it is possible to queue actions to be invoked once on the next call of the desired Unity update.
The supported updates are:
- Update()
- FixedUpdate()
- LateUpdate()
EventSync
With this component, it is possible to hook onto the desired Unity update with listeners.
The supported updates are:
- Update()
- FixedUpdate()
- LateUpdate()
Concluding
This asset is the result of many years of experience with Unity and its use outside of games.