Photon Fusion 2.0.0

Public Member Functions | List of all members
SimulationBehaviourListScope Struct Reference

Provides a scope for a SimulationBehaviourUpdater.BehaviourList, incrementing its lock count on creation and decrementing it on disposal. If the lock count reaches zero on disposal, all pending removals in the list are performed. More...

Inherits IDisposable.

Public Member Functions

void Dispose ()
 Dispose unmanaged resources.
 

Detailed Description

Provides a scope for a SimulationBehaviourUpdater.BehaviourList, incrementing its lock count on creation and decrementing it on disposal. If the lock count reaches zero on disposal, all pending removals in the list are performed.