ThreadHarmonizer API

Documentation

Reference documentation for the multithreaded component base class and the shared runtime manager.

MonoBehaviourMultithreaded

The component base class for scripts that use ThreadHarmonizer’s recurring multithreading workflow.

Base class
namespace ThreadHarmonizerEngine
{
    public abstract class MonoBehaviourMultithreaded : MonoBehaviour
    {
    }
}
Use it selectively Only scripts that require ThreadHarmonizer’s recurring parallel execution need to inherit from this class.
Unity rules still apply Worker functions should calculate with Unity-independent data. Unity object access must remain on the main thread.

Member functions

ThreadHarmonizerManager

Static hand-off methods for scripts that need the shared worker pool without inheriting from MonoBehaviourMultithreaded.

Static API
using ThreadHarmonizerEngine;
Created automatically Auto-create Manager is enabled by default and reuses an existing valid manager when one is already available.
Persistent singleton The active runtime manager remains available across ordinary scene transitions.

Static member functions