Class FlowStateWidget
Inheritance
FlowStateWidget
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[Widget(typeof(FlowState))]
public sealed class FlowStateWidget : NesterStateWidget<FlowState>, INodeWidget, IStateWidget, IGraphElementWidget, IWidget, IDisposable, IDragAndDropHandler
Constructors
FlowStateWidget(StateCanvas, FlowState)
Declaration
public FlowStateWidget(StateCanvas canvas, FlowState state)
Parameters
Type | Name | Description |
---|---|---|
StateCanvas | canvas | |
FlowState | state |
Properties
dragAndDropVisualMode
Declaration
public DragAndDropVisualMode dragAndDropVisualMode { get; }
Property Value
Type | Description |
---|---|
DragAndDropVisualMode |
Implements
eventLinesPositions
Declaration
public Dictionary<FlowStateWidget.EventLine, Rect> eventLinesPositions { get; }
Property Value
Type | Description |
---|---|
Dictionary<FlowStateWidget.EventLine, Rect> |
showContent
Declaration
protected override bool showContent { get; }
Property Value
Type | Description |
---|---|
Boolean |
Overrides
Unity.VisualScripting.StateWidget<Unity.VisualScripting.FlowState>.showContent
Methods
AcceptsDragAndDrop()
Declaration
public bool AcceptsDragAndDrop()
Returns
Type | Description |
---|---|
Boolean |
Implements
CacheItemFirstTime()
Declaration
protected override void CacheItemFirstTime()
Overrides
Unity.VisualScripting.Widget<Unity.VisualScripting.StateCanvas, Unity.VisualScripting.FlowState>.CacheItemFirstTime()
CachePosition()
Declaration
public override void CachePosition()
Overrides
Unity.VisualScripting.StateWidget<Unity.VisualScripting.FlowState>.CachePosition()
Dispose()
Declaration
public override void Dispose()
Overrides
Unity.VisualScripting.GraphElementWidget<Unity.VisualScripting.StateCanvas, Unity.VisualScripting.FlowState>.Dispose()
DrawContent()
Declaration
protected override void DrawContent()
Overrides
Unity.VisualScripting.StateWidget<Unity.VisualScripting.FlowState>.DrawContent()
DrawDragAndDropPreview()
Declaration
public void DrawDragAndDropPreview()
Implements
ExitDragAndDrop()
Declaration
public void ExitDragAndDrop()
Implements
GetContentHeight(Single)
Declaration
protected override float GetContentHeight(float width)
Parameters
Type | Name | Description |
---|---|---|
Single | width |
Returns
Type | Description |
---|---|
Single |
Overrides
Unity.VisualScripting.StateWidget<Unity.VisualScripting.FlowState>.GetContentHeight(System.Single)
PerformDragAndDrop()
Declaration
public void PerformDragAndDrop()
Implements
UpdateDragAndDrop()
Declaration
public void UpdateDragAndDrop()