기술 자료

Unity Engine

Unity Engine

StretchToParentSize(VisualElement)

Aligns a VisualElement's left, top, right and bottom edges with the corresponding edges of its parent.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static void StretchToParentSize(this VisualElement elem)

Parameters

The element to be aligned with its parent

Remarks

This method provides a way to set the following styles in one operation: