I need to exec multiple queries to the database. Can I use another thread?
I'm using C#.
Multiple threads
Discussion in 'Rust Development' started by Umlaut, Oct 24, 2015.
-
Calytic Community Admin Community Mod
Unity is not thread safe. Technically it may be possible to create threads but they can not interact with Unity in any way.
You're best option is Coroutines, or what is known as "cooperative multitasking." Cooperative multitasking is kind of like threading except without the threads.
Two plugins that use Coroutines that I know of are Sign Artist for Rust Experimental | Oxide and Popup Notifications for Rust Experimental | Oxide -