Photon Fusion 2.0.3

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. More...
 

Properties

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

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.

Property Documentation

◆ MethodName

string MethodName
get

Gets the name of the method to be called when the property changes.