Photon Fusion 2.1.1

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...

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.