Photon Fusion 2.0.0

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

OnChangedRender Attribute. More...

Inherits Attribute.

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.