Photon Fusion 2.1.1

StaticFieldAttribute Class Reference

Attribute to mark a static field with a reset mode. More...

Public Member Functions

 StaticFieldAttribute ()
 Initializes a new instance of the StaticFieldAttribute class with the default reset mode.
 StaticFieldAttribute (StaticFieldResetMode resetMode)
 Initializes a new instance of the StaticFieldAttribute class with the specified reset mode.

Properties

StaticFieldResetMode Reset [get]
 Gets the reset mode for the static field.

Detailed Description

Attribute to mark a static field with a reset mode.

Constructor & Destructor Documentation

◆ StaticFieldAttribute()

StaticFieldAttribute ( StaticFieldResetMode resetMode)

Initializes a new instance of the StaticFieldAttribute class with the specified reset mode.

Parameters
resetModeThe reset mode for the static field.