Photon Fusion 2.1.1

NetworkBehaviour.ChangeDetector.Enumerable Struct Reference

Struct representing a collection of changes detected in a NetworkBehaviour. More...

Public Member Functions

bool Changed (string name)
 Checks if a property has changed.
Enumerator GetEnumerator ()
 Gets an enumerator for the collection of changes.

Detailed Description

Struct representing a collection of changes detected in a NetworkBehaviour.

Member Function Documentation

◆ Changed()

bool Changed ( string name)

Checks if a property has changed.

Parameters
nameThe name of the property to check.
Returns
True if the property has changed, false otherwise.

◆ GetEnumerator()

Enumerator GetEnumerator ( )

Gets an enumerator for the collection of changes.

Returns
An Enumerator for the collection of changes.