API reference
API reference
Select your platform
No SDKs available
No versions available

LayoutStyle Class

Extends Style
This is a ScriptableObject that's storing the style of the layout used by Immersive Debugger.
Containing properties like layout direction, flow type, anchor, margin etc. For more info about Immersive Debugger, check out the official doc

Member Enumerations

Enumeration Layout

Fixed
No description available
Fill
No description available
FillHorizontal
No description available
FillVertical
No description available

Enumeration Direction

Left
No description available
Right
No description available
Down
No description available
Up
No description available

Fields

Direction flexDirection[Get]
Layout layout[Get]
TextAnchor anchor[Get]
TextAnchor pivot[Get]
Vector2 size[Get]
Vector2 margin[Get]
bool useBottomRightMargin[Get]
Vector2 bottomRightMargin[Get]
float spacing[Get]
bool masks[Get]
bool adaptHeight[Get]
bool autoFitChildren[Get]
bool isOverlayCanvas[Get]

Properties

float LeftMargin[Get]
float TopMargin[Get]
float RightMargin[Get]
float BottomMargin[Get]
Vector2 TopLeftMargin[Get]
Vector2 BottomRightMargin[Get]
Did you find this page helpful?
Thumbs up icon
Thumbs down icon