脚本/功能 Easy Threading 5.0 unity3d线程插件 unity3d插件官网

插件名称:Easy Threading 5.0插件官网:访问官网
版权协议:Red pine1.1解压密码:通用密码
Easy Threading 5.0 unity3d ,线程插件 unity3d插件官网

Easy Threading 3.3版下载链接

线程插件 unity3d插件官网

线程插件 unity3d插件官网

Easy Threading 5.0

Easy Threading 5.0

Easy Threading 5.0

Easy Threading 5.0

Easy Threading 5.0

Easy Threading 5.0

unity3d线程插件

unity3d线程插件

unity3d线程插件

unity3d线程插件


Requires Unity 5.3.4 or higher.
Work with multiple threads easily:
Standalone builds, Windows store (UWP), webplayer, iOS and Android
<
Documentation

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 objects.

Piece of cake with this package, just use this sentence:
Task.RunInMainThread(SomeFunction);
SomeFunction is guaranteed to be executed in the main thread

Of course i's possible to use lambda expressions:
Task.RunInMainThread(()=>
{
// This code will execute in the main thread
});

But this asset also makes working with threads a pleasant experience:

To create a thread just use the following syntax:
Task.Run (DoSomeWorkOnABackgroundThread);

Creating a thread that returns some value (an integer in this example):
Task<int>.Run (CalculateSomeIntegerInTheBackground),

Of course you will want to receive the integer:
Task<int>.Run (CalculateSomeIntegerInTheBackground).ContinueWith(ThisFunctionReceivesTheIntegerAsParameter);

Or, maybe, you need to show that integer to the player (the function receiving it must be executed in the main thread):
Task<int>.Run (CalculateSomeIntegerInTheBackground).ContinueInMainThreadWith(ThisFunctionReceivesTheIntegerAsParameter);

These are just the basic features included in this package.

This package reimplements and extends the .NET System.Threading.Tasks namespace.

This namespace makes thread management easier for you by adding a class named Task. A task represents an asynchronous operation. Typically, a Task is returned from an asynchronous function and gives the ability to continue processing the result of the task.
A task is not tied to a particular threading model: it represents the work being done, not where it is executing. Tasks have many advantages over other methods of asynchronous programming such as callbacks and the event model.

You can learn more about tasks in Parse's website

Tested for standalone builds, windows store (UWP), web player, iOS and Android

Full source code is included, as well as many examples. I use this asset for my own projects, so I will keep improving and expanding it.

If you have any comments, doubts, feature request or just need some help implementing some multithreading behaviour just let me know in the forum's thread

游客,如果您要查看本帖隐藏内容请回复




作者 虎哥 发表于 2018-6-16 14:43:16

MinnMinx

thank you very much
发表于 2018-7-18 16:32:09

michioeos

发表于 2018-12-20 01:27:53

yl25349558

带骨骼的    棒哒哒
发表于 2020-3-3 00:35:42

icyace

thx for sharing
发表于 2020-4-2 10:52:06

%E6%85%88%E6%82%B2%E6%B4%92%E6%AF%92%E8%8D%AF

。。。。。。。。。。。。。。
发表于 2020-12-4 17:44:40

timchen214

666666666666666666666666
发表于 2020-12-20 17:42:59

zxhot007

1111111111111111111111111111
发表于 2022-8-15 11:40:44

final

Easy Threading 5.0 unity3d线程插件 unity3d插件官网
发表于 2023-8-5 22:28:44

final

无效压缩文件,并且提示有病毒,退钱!
发表于 2023-8-5 22:48:51
您需要登录后才可以回帖 登录 | 立即注册
虎哥

关注0

粉丝364

发布2291

热门作品推荐
glow
【更新】Ultimate Character Controller 3.
glow
免费模型仙侠风古代场景有山有树有花有古代
glow
长生原主角模型合集 仙侠类写实人物武器模
glow
FXVille Blood Impact FX Pack 1.5 血液效
glow
SUNTAIL - Stylized Fantasy Village 1.1.3
glow
SUNTAIL - Stylized Fantasy Village 1.0
glow
【更新】UGUI Super ScrollView 2.5.4
glow
【更新】Master Audio 2022 AAA Sound 1.0.
glow
【更新】Curvy Splines 8 8.9.0
glow
Old school cafe 1.0 房间室内场景