Photon Fusion 2.0.3

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

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.

Member Function Documentation

◆ Dispose()

void Dispose ( )

Dispose unmanaged resources.