Photon Fusion 2.0.3

Properties | List of all members
ExpandableEnumAttribute Class Reference

Editor attribute that shows an enum as an expandable list of options in the inspector. More...

Inherits DrawerPropertyAttribute.

Properties

bool AlwaysExpanded = false [get, set]
 Always expand the enum in the inspector (no foldout) More...
 
bool ShowFlagsButtons = true [get, set]
 Show the enum flags as buttons in the inspector. More...
 
bool ShowInlineHelp = false [get, set]
 Show inline help for enum values in the inspector. More...
 

Detailed Description

Editor attribute that shows an enum as an expandable list of options in the inspector.

Property Documentation

◆ AlwaysExpanded

bool AlwaysExpanded = false
getset

Always expand the enum in the inspector (no foldout)

◆ ShowFlagsButtons

bool ShowFlagsButtons = true
getset

Show the enum flags as buttons in the inspector.

◆ ShowInlineHelp

bool ShowInlineHelp = false
getset

Show inline help for enum values in the inspector.