Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 489 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 489 Bytes

Hikari

Threading solution for Unity.

HikariThreading.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 to be run in Unity use the following code: Hikari.ScheduleUnity( ( ActionTask task ) => YourWorkHere(); )

You may also schedule tasks using enumerators, similar to coroutines in Unity.