[펌] Background Worker for Unity3D
If you need to execute some long running task on the background in Unity, you may find this tool I just wrote, useful. This is BackgroundWorker for Unity 3D
You will only need the class BackgroundWorker
It worth noting that a lot of seemingly background tasks can be implemented with Unity Coroutines. For example using WWW service to send or receive data from a remote server. Or any case where we just wait for a response from a remote computer.
However because coroutines run on the main thread if you really have a long running, not just waiting for response but computing intensely something, you will need to run it on a background thread. Here is how you use this tool:
And then on each frame execute:
The tool has been tested on Windows, Mac, iPhone, and Android.
This is a sample usage of the BackgroundWorker class.
'Unity3D > Plugins' 카테고리의 다른 글
[펌] Unity Excel Importer (0) | 2019.01.03 |
---|---|
[링크] Emoji_Extension (0) | 2018.06.07 |
[Link] UnityAppNameLocalizationForIOS (0) | 2018.03.27 |
[에셋] Anti-Cheat Toolkit (0) | 2018.03.06 |
[펌] UnityIPhoneXSupport (0) | 2017.11.10 |