Easy Threading 5.0
要求Unity 5.3.4 或更高版本。
Work with multiple threads easily:
Standalone builds, Windows store (UWP), webplayer, iOS and Android
Forum's thread (examples and support)
To build a truly responsive Unity game, you must keep long-running operations off of the main thread, and be careful to avoid blocking the main thread. This means you will need to execute various operations in the background.
Unity's coroutines are ALWAYS executed on the main Thread
Executing threads in the background implies carefully go back to the main thread when you have to manipulate Unity's ob jects.
Piece of cake with this package, just use this sentence:
Task.RunInMainThread(SomeFunction);
SomeFunction is guaranteed to be executed in the main thread
需要5金币 或 50 积分 ( 如何获取金币与积分)
免责声明:
【1】资源来自网络,仅限于个人学习研究,请勿用于任何商业用途,请支持或购买正版,尊重版权,请严格遵守国家相关著作版权保护的法律和规则,素材下载所需金币仅为素材收集整理的辛苦费用,并不代表素材本身价值,版权归原作者或其公司所有,请下载24小时内务必删除,否则后果自负,本站不承担任何责任及连带责任!