Skip to content

UIPolyline

Source: Assets/UpscaleSDK/Core/UI/Runtime/DeviceLayout/UIPolyline.cs

class UIPolyline

A UI Graphic that draws a polyline through a list of points in local RectTransform space. Used by the gamepad layout view to connect label rows to button anchors on the controller image.

Methods

protected override void OnValidate()

public void SetPoints(IReadOnlyList<Vector2> points)

protected override void OnPopulateMesh(VertexHelper vh)