Normal Search:

This search is working on the whole database of assets including hidden assets but do NOT scan the descriptions.

3d Model

Deep Search:

This search is working on the whole database of assets including hidden ones and scan the descriptions as well.

3d Model
You are not connected. Please Login or Register to fully enjoy this website.
Easy Threading 14/Jun/2018 Price: Asset Store Marketplace Unreal Unity Manufactured by: Arklay 5.0 Product ID: 50473 50 2 70 70 5 1

View Product

DashboardLatest reviewsGrid Release viewBrowse the LibraryThe ArchiveRewardsForum

Easy Threading(exclu)

uploaded by Anon_121 , Last change: 14-06-2018
Published: 26 Jan 2017, Publisher: Arklay
Price: $50.00 USD - Size: 54.48 KB

File version

Product description

Minimum Unity Version Required: 5.5.0f3 | Asset Published Date: 26 Jan 2017 | Price: $50.00.
Publisher: Arklay.
DescriptionWork with multiple threads easily:

Standalone builds, Windows store (UWP), webplayer, iOS and Android


// 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
You can add a (short) comment to this game asset and send it to approval (you can edit it later on)

Write a good review that gets approved will adds 500MB download credits + 5 credit file + 1 exclusive credit + 5 points to your score to your account!

Don't forget the base ... by Anon_484Vote
about a year ago, I was doing some R&D project and it had a very heavy calculating procedures in it, that was when i thought about multi threading in unity, multi threading by itself in any c# program can become a little crazy and hard to grasp the concept at first, but when you learn how to handle it properly, it becomes your number one choice in many many situations. with unity, problem is that almost 98% of API is not thread friendly and you can't even call them on threads. the only things you can call are the very basic calculations on vectors. but in some cases there is way around it, for example if you watch recent unite conferences, the one speaking about math shows how the guy stores the matrix from transform component and pushes that local variable to the thread. but still, it is lots of things to keep in mind when you try threading in unity. When i was dealing with it, naturally i went into asset store and contacted EVERY single asset developer that was offering a multi threading solution, the response was always the same :

"This is not a real multi threading solution for unity's API, instead I developed a wrapper that handles threading with it"

this by itself is not a bad thing. what these guys do is that they give you an option to push a job on the main thread when it comes to unity stuff and make the thread sleep until that job is done and then continue the threading. of course it will have performance cost compared to real multi threading, but still it is much much better than pushing everything on the main thread and hope for speed.

That being said, between many assets available in the asset store this one and loom where the best at time, but as time passed, loom didn't upgrade that much, if you check asset store, the unity version for loom is still 3.x meaning it may not support unity 5 ! so, it's your call to choose this asset or the non updated loom.
You can add a review to this game asset and send it to approval (you can edit it later)

People who thanks this post

Anon_3593 + - date: 2021/05/08 : 03:20:34am - Version: 5.0
Anon_2363 + - date: 2021/02/05 : 03:42:01pm - Version: 5.0
Anon_2280 + - date: 2020/12/10 : 02:46:14am - Version: 5.0
Anon_2661 + - date: 2020/10/03 : 01:22:42am - Version: 5.0
Anon_891 + - date: 2019/01/15 : 04:23:04am - Version: 5.0
Anon_601 + - date: 2018/06/23 : 08:09:15pm - Version: 5.0
Anon_1284 + - date: 2018/06/15 : 06:22:29pm - Version: 5.0
Anon_238 + - date: 2018/06/15 : 04:14:48am - Version: 5.0
Anon_1093 + - date: 2018/06/15 : 04:02:55am - Version: 5.0
Anon_911 + - date: 2018/06/15 : 12:46:53am - Version: 5.0
Anon_1375 + - date: 2015/11/30 : 10:35:40am - Version:
Anon_317 + - date: 2015/11/29 : 08:39:54pm - Version:

© 2021 - Fair Use Statement | DMCA Statement | Privacy Policy
Idea, coding and concept: pXNfdegskxB/R2PwLdwDabnAr+pJdcTZXc5F8kYndSk6lQ/M6uzS3Bi2lh+df9ElmWumI553tQvJj8yHmGg0Og==
Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research.
Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.

This work is licensed under a Creative Commons Attribution 4.0 International License.