unstub this |
989onan bot (talk | contribs) Automated: update Fields |
||
Line 7: | Line 7: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Highlight|Bool| | |||
|Icon|'''[[Component:Image|Image]]'''|TypeAdv1=true| | |||
|Sprite|{{RootFieldType|RelayRef`1|[[Type:IAssetProvider`1|IAssetProvider`1]]<[[Type:Sprite|Sprite]]>}}|TypeAdv2=true| | |||
|Label|'''[[Type:IField`1|IField`1]]<[[Type:String|String]]>'''|TypeAdv3=true| | |||
|Color|ColorX| | |||
|_menu|'''[[Component:ContextMenu|ContextMenu]]'''|TypeAdv5=true| | |||
|_highlighted|Bool| | |||
|_arc|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv7=true| | |||
|_outerRadius|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv8=true| | |||
|_button|'''[[Component:Button|Button]]'''|TypeAdv9=true| | |||
}} | }} | ||
Revision as of 22:29, 16 March 2025
Component image 
Context Menu Item component as seen in the Scene Inspector

A component that is used internally within context menus. If you want to create a custom context menu, you should look at ContextMenuItemSource.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Highlight
|
Bool | |
Icon
|
Image | |
Sprite
|
direct RelayRef`1<IAssetProvider`1<Sprite>> | |
Label
|
IField`1<String> | |
Color
|
ColorX | |
_menu
|
ContextMenu | |
_highlighted
|
Bool | |
_arc
|
field drive of Float | |
_outerRadius
|
field drive of Float | |
_button
|
Button |