Photon Fusion 2.1.1

ReadOnlyAttribute Class Reference

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

Inherits DecoratingPropertyAttribute.

Public Member Functions

 ReadOnlyAttribute ()
Public Member Functions inherited from PropertyAttribute
 PropertyAttribute (bool applyToCollection=false)

Properties

bool InEditMode = true [get, set]
 Should the field be read-only in edit mode?
bool InPlayMode = true [get, set]
 Should the field be read-only in play mode?
Properties inherited from PropertyAttribute
new bool applyToCollection [get]

Additional Inherited Members

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

Detailed Description

Attribute used to mark a field as read-only.