Class ArcPreviewUI
UI element used to display an arc when the user is creating it
Inheritance
Focusable
ArcPreviewUI
Assembly: Xareus.Scenarios.Unity.Edition.dll
Syntax
public class ArcPreviewUI : ABaseArcUI
Constructors
ArcPreviewUI(CanvasUI, NodeUI, Vector2)
Declaration
public ArcPreviewUI(CanvasUI canvas, NodeUI sourceUI, Vector2 initialEndPosition)
Parameters
Fields
SourceNode
Declaration
Field Value
Properties
Data
The data associated with this UI element. This can be null if the element is based on other elements' data.
Declaration
public override object Data { get; }
Property Value
Overrides
EndPosition
Declaration
public override Vector2 EndPosition { get; }
Property Value
Overrides
StartPosition
Declaration
public override Vector2 StartPosition { get; }
Property Value
Overrides
Methods
DeleteUIElement()
Declaration
public override void DeleteUIElement()
Overrides
SetEndPosition(Vector2)
Declaration
public void SetEndPosition(Vector2 endPosition)
Parameters
Type |
Name |
Description |
Vector2 |
endPosition |
|