ActionDrawer
Property drawer for Action types with polymorphic selection and progress indicator.
Definition
Namespace: Paragon.Core.ActionSystem.Editor
Assembly: Paragon.Editor.dll
[DrawerPriority(0.0, 0.0, 3000.0)]
public class ActionDrawer<TAction> : OdinValueDrawer<TAction>
where TAction : ActionInheritance: OdinValueDrawer<TAction> → ActionDrawer<TAction>
Features
Polymorphic action type selection
Foldout with expansion state
Progress indicator when action is running
ActionVariables drawing
Protected Members
Member
Type
Description
isExpanded
bool
Foldout state
showProgressIndicator
bool
Show running indicator
defaultLabel
GUIContent
Default "Action" label
isRunning
bool
Whether action is executing
Virtual Methods
DrawHeader()
Draws the foldout header with polymorphic field.
DrawBody()
Draws the ActionVariables property.
See Also
Last updated
Was this helpful?