Photon Fusion 2.0.3

Properties | List of all members
ReadOnlyAttribute Class Reference

Attribute used to mark a field as read-only. More...

Inherits DecoratingPropertyAttribute.

Properties

bool InEditMode = true [get, set]
 Should the field be read-only in edit mode? More...
 
bool InPlayMode = true [get, set]
 Should the field be read-only in play mode? More...
 

Additional Inherited Members

- Static Public Attributes inherited from DecoratingPropertyAttribute
const int DefaultOrder = -10000
 The default order of the attribute. More...
 
- Protected Member Functions inherited from DecoratingPropertyAttribute
 DecoratingPropertyAttribute ()
 Initializes a new instance with the default order. More...
 
 DecoratingPropertyAttribute (int order)
 Initializes a new instance with the specified order. More...
 

Detailed Description

Attribute used to mark a field as read-only.

Property Documentation

◆ InEditMode

bool InEditMode = true
getset

Should the field be read-only in edit mode?

◆ InPlayMode

bool InPlayMode = true
getset

Should the field be read-only in play mode?