Photon Fusion 2.1.1

OnChangedRenderAttribute Class Referencesealed

OnChangedRender Attribute. More...

Public Member Functions

 OnChangedRenderAttribute (string methodName)
 Initializes a new instance of the OnChangedRenderAttribute class.

Properties

string MethodName [get]
 Gets the name of the method to be called when the property changes.

Detailed Description

OnChangedRender Attribute.

This attribute is used to specify a method that should be called when the property changes.

Constructor & Destructor Documentation

◆ OnChangedRenderAttribute()

OnChangedRenderAttribute ( string methodName)

Initializes a new instance of the OnChangedRenderAttribute class.

Parameters
methodNameThe name of the method to be called when the property changes.
Exceptions
ArgumentNullExceptionThrown when methodName is null or empty.