Photon Fusion 2.0.4

Public Member Functions | Properties | List of all members
StaticFieldAttribute Class Reference

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

Inherits Attribute.

Public Member Functions

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

Properties

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

Detailed Description

Attribute to mark a static field with a reset mode.

Constructor & Destructor Documentation

◆ StaticFieldAttribute() [1/2]

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

Parameters
resetModeThe reset mode for the static field.

◆ StaticFieldAttribute() [2/2]

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

Property Documentation

◆ Reset

Gets the reset mode for the static field.