Skip to content

UIDialog.CenterOnScreen(Vector2) Method

Definition

Namespace: Brine2D.UI

Centers the dialog on screen.

public void CenterOnScreen(System.Numerics.Vector2 screenSize);

Parameters

screenSize System.Numerics.Vector2