Table of Contents

Namespace Gravitas.Support

Classes

GravitasCoroutineService

Owns lockstep coroutine state for one GravitasWorldContext.

LSCoroutine

Represents one context-owned lockstep coroutine.

LifecycleHookHandler

Provides functionality to register, unregister, and invoke lifecycle hooks in a thread-safe manner.

LifecycleHookRegistration

Represents a registration for a lifecycle hook, allowing it to be unregistered when disposed.

OrderedLifecycleHook

Represents a lifecycle hook with an associated owner, execution order, and callback action.

Structs

PhysicsLayer

Identifies one physics layer by index.

PhysicsLayerMask

Represents an include mask for physics layer queries and filters.

WaitForFrames

A coroutine yield instruction that waits for a specified number of Gravitas simulation frames.

WaitForNextSimulate

A coroutine yield instruction that waits until the next Gravitas simulation frame.

WaitForRealSeconds

A coroutine yield instruction that waits for a specified duration on the owning context's deterministic clock.

Interfaces

ILockedYieldInstruction

A coroutine yield instruction that is locked to a GravitasWorldContext and can be used in a deterministic simulation.