Attribute for Block Field definitions. More...
Inherits Attribute.
Public Member Functions | |
plyBlockFieldAttribute (string name) | |
Public Attributes | |
string | Name |
Field's name. | |
string | SubName |
Info shown in the Blox editor's help/ info panel. | |
string | Description |
description shown in the Blox editor's help/ info panel | |
bool | ShowName = false |
Show name of field on the Block? | |
bool | ShowValue = false |
Show value of field on the Block? | |
string | EmptyValueName = "-null-" |
What to show when the field is empty (not set) | |
string | CustomValueStyle = null |
Custom style to use for the shown value. example: CustomValueStyle = "plyBlox_BoldLabel". | |
string | ShowIcon = null |
Name of icon to show before the field value would have been shown. | |
string | ShowAfterField = null |
Text to show after the field value would have been shown. | |
System.Type | DefaultObject = null |
A default value/ object to create and init field with when field's Block is added to graph. | |
System.Type | BasicTypeHint = null |
This helps identify what type can be used when the field is Component_Value or UnityObject_Value. | |
string | ShowIfTargetFieldInvalid = null |
Null to ignore this setting. Set this to the name of a field to check in the Block. Only when the target field is invalid (null) will this field be shown. The name and icon will still be shown on a block, just not the value. On the Block the target field's value will be shown if valid. | |
Attribute for Block Field definitions.