MotionDispatcher
Reserve or clear automatic motion storage and select the handler for unhandled exceptions.
public static class MotionDispatcherMotionDispatcher.cs · L9Members
RegisterUnhandledExceptionHandler
Set the handler for unhandled errors. The default is Debug.LogException.
public static void RegisterUnhandledExceptionHandler(Action<Exception> unhandledExceptionHandler)Parameters
unhandledExceptionHandlerAction<Exception>Callback receiving unhandled exceptions.
GetUnhandledExceptionHandler
Get the currently registered unhandled-exception handler.
public static Action<Exception> GetUnhandledExceptionHandler()Return value
- Returns
Action<Exception>
Clear
Clear motions from automatic update storage.
public static void Clear()EnsureStorageCapacity
Reserve automatic update storage for this combination of types.
public static void EnsureStorageCapacity<TValue, TOptions, TAdapter>(int capacity)
where TValue : unmanaged
where TOptions : unmanaged, IMotionOptions
where TAdapter : unmanaged, IMotionAdapter<TValue, TOptions>Parameters
capacityintNumber of entries to reserve.
MeatMotion