3#include "../Utils/Il2cpp.hpp"
4#include "../Utils/MonoPtr.hpp"
6#include <custom-types/shared/coroutine.hpp>
7#include <System/Collections/IEnumerator.hpp>
8#include <UnityEngine/MonoBehaviour.hpp>
9#include <UnityEngine/Coroutine.hpp>
17 using namespace System::Collections;
18 using namespace UnityEngine;
43 static Queue** m_Queues;
45 static int m_FrontQueue;
46 static std::mutex m_Mutex;
63 static _u::Coroutine*
Start(_u::IEnumerator* p_Coroutine);
66 static _u::Coroutine*
Start(custom_types::Helpers::Coroutine&& p_Coroutine);
69 static void Stop(_u::Coroutine* p_Coroutine);
73 DECLARE_INSTANCE_METHOD(
void, Update);
MultiThreading coroutine starter.
static void Initialize()
Unity GameObject initialize.
static void Destroy()
Stop.
static void EnqueueFromThread(_u::IEnumerator *p_Coroutine)
Enqueue a new coroutine from thread.
static _u::Coroutine * Start(custom_types::Helpers::Coroutine &&p_Coroutine)
Start coroutine.
static void Stop(_u::Coroutine *p_Coroutine)
Stop coroutine.
static _u::Coroutine * Start(_u::IEnumerator *p_Coroutine)
Start coroutine.
static void EnqueueFromThread(custom_types::Helpers::Coroutine &&p_Coroutine)
Enqueue a new coroutine from thread.
Tools and extensions to interact with Unity on different layer & threads, load fonts/sprites/textures...
Various platform utils like Delegate/Action/Function/Event system.