【パブリッシャー丸ごとセール第103弾】9月20日 0:00 〜 9月26日(木) 23:59まで
Imphenziaのアセット50%オフ
↓↓↓ 今週の無料アセットプレゼント🎁
『Blasters Large』$21.95 => FREE(9月26日 23:59まで無料)
クーポンコード:IMPHENZIA
【Fresh Asset sale】⏰️ 9月19日 〜 10月2日 23:59まで NEW!!
200を超える最新の人気アセットがお買い得。秋のフレッシュアセットセール開催 🎉
🈹 合計60ドル以上のご注文ならクーポン適用で さらに10%オフ
クーポンコード:SEP10BER
※ 有効期限:2024年9月30日まで、複数回利用可能、セール品以外にも使えます
【Humble Bundle】 その他 ソフトウェアバンドルはこちら
『BLENDER MARKET: BEST OF 2024』 ⏰️ 10月5日(土) 3時まで
Blender用のワールド構築ツールキット。地形、液体、人間、植物など豪華なアセットバンドル
価格:$30で31アイテム
『LEARN TO CREATE GAME ART IN BLENDER 2024』 ⏰️ 9月24日(火) 3時まで
Blenderのスキルアップ。GameDev.tvのGDTVゲームアートバンドルコース(英語)
『LEARTES UNREAL AND UNITY ASSETS GIGA BUNDLE ENCORE』 ⏰️ 10月7日(月) 3時まで
最新3Dモデルが破格⚡️Unityとアンリアルエンジン混合バンドル $30で61アイテム
『SYNTY'S POLYGON GAME DEV ASSETS BUNDLE 3 REMIX』 ⏰️ 10月15日(火) 3時まで
ゲーム開発でお馴染みSynty Studiosの豪華な3Dモデルバンドル!25ドルで23アイテム手に入る
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.Run (CalculateSomeIntegerInTheBackground),
Of course you will want to receive the integer:
Task.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.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
▼ Humble Bundle
Software Bundles
AssetStore Price down information
LinkList
copyright © AssetStore Price down information All Rights Reserved.