C# (CSharp) HikariThreading Hikari - 5 exemples trouvés. Ce sont les exemples réels les mieux notés de HikariThreading.Hikari extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
Never put Hikari on a GameObject! Hikari will spawn one for you. Hikari is the entry point to the threading system. It is fully threadsafe and designed to be accessed statically. To schedule a task in Hikari use the following code: Hikari.Schedule( ( ActionTask task ) => YourWorkHere(); ) To schedule a task in Unity use the following code: Hikari.ScheduleUnity( ( ActionTask task ) => YourWorkHere(); ) You may also schedule tasks using enumerators, similar to coroutines in Unity.