Sets the window size by setting its width and height to certain values.

Properties

PropertyDescriptionType
default/currentIndex or ID of a list item. Invalid until the sizes property is set.int
sizesThe list of available sizes. When setting up a UI component, the order of list items must match the order of items in this property unless you're using item IDs. If using item IDs, each item ID must point to a valid index in this array.Array[Vector2]