Photon Fusion 2.1.1

LayerMatrixAttribute Class Reference

Specifies that the integer array field should be drawn as a layer matrix in the inspector. More...

Inherits DrawerPropertyAttribute.

Public Member Functions

 LayerMatrixAttribute (string layerNamesField)
 Initializes a new instance with a reference to a sibling string array field to use as layer names.
Public Member Functions inherited from PropertyAttribute
 PropertyAttribute (bool applyToCollection=false)

Properties

string LayerNamesField [get]
 The name of the sibling string array field containing layer names.
Properties inherited from PropertyAttribute
new bool applyToCollection [get]

Additional Inherited Members

Protected Member Functions inherited from DrawerPropertyAttribute
 DrawerPropertyAttribute (bool applyToCollection=false)

Detailed Description

Specifies that the integer array field should be drawn as a layer matrix in the inspector.

Constructor & Destructor Documentation

◆ LayerMatrixAttribute()

LayerMatrixAttribute ( string layerNamesField)

Initializes a new instance with a reference to a sibling string array field to use as layer names.

Parameters
layerNamesField