Class SceneInstanceSyncStateLock

A SceneManagerSyncDirtyLock is a helper class that can be used to ensure that the sync dirty state of a SceneInstance remains unmodified for the duration of the lock.

The disposable must be assigned to a variable declared with the using keywords

using lock: SceneManagerSyncDirtyLock = new SceneManagerSyncDirtyLock(sceneInstance);

Implements

  • Disposable

Methods

  • Invoked when the object is disposed.

    Returns void