Class VerticalPanel
자식 컨트롤을 Horizontal Panel 형태로 표시하는 클래스
네임스페이스: Game.Scripts.UI
어셈블리: Assembly-CSharp.dll
Syntax
[MoonSharpUserData]
public class VerticalPanel : Control
생성자
VerticalPanel(Rect)
자식 컨트롤을 Horizontal Panel 형태로 표시하는 클래스
선언
public VerticalPanel(Rect rect = null)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Rect | rect |
변수
_vertical
자식 컨트롤을 Horizontal Panel 형태로 표시하는 클래스
선언
protected VerticalLayoutGroup _vertical
필드 값
타입 | 설명 |
---|---|
UnityEngine.UI.VerticalLayoutGroup |
프로퍼티
childAlign
하위 요소 정렬
0 => UpperLeft 왼쪽 위
1 => UpperCenter 가운데 위
2 => UpperRight 오른쪽 위
3 => MiddleLeft 왼쪽 중간
4 => MiddleCenter가운데 중간
5 => MiddleRight 오른쪽 중간
6 => LowerLeft 왼쪽 아래
7 => LowerCenter 가운데 아래
8 => LowerRight 오른쪽 아래
선언
public int childAlign { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
int |
childControlHeight
자식 요소의 높이를 제어하는지 여부
선언
public bool childControlHeight { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
childControlWidth
자식 요소의 너비를 제어하는지 여부
선언
public bool childControlWidth { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
childForceExpandHeight
추가 사용 가능한 공간을 채우기 위해 자식 요소를 강제로 확장할 지 여부
선언
public bool childForceExpandHeight { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
childForceExpandWidth
추가 사용 가능한 공간을 채우기 위해 자식 요소를 강제로 확장할 지 여부
선언
public bool childForceExpandWidth { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
childScaleHeight
크기를 조정하고 레이아웃할 때 자식 요소의 크기를 고려하는지 여부
선언
public bool childScaleHeight { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
childScaleWidth
크기를 조정하고 레이아웃할 때 자식 요소의 크기를 고려하는지 여부
선언
public bool childScaleWidth { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
padding
Grid Panel 바깥의 여백
선언
public RectOff padding { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
RectOff |
spacing
하위 요소들 사이의 간격을 조절하는 값
선언
public float spacing { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
float |
함수
__call(VerticalPanel, Dictionary<string, object>)
자식 컨트롤을 Horizontal Panel 형태로 표시하는 클래스
선언
[MoonSharpUserDataMetamethod("__call")]
public static VerticalPanel __call(VerticalPanel self, Dictionary<string, object> style)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
VerticalPanel | self | |
System.Collections.Generic.Dictionary<TKey, TValue><string, object> | style |
반환
타입 | 설명 |
---|---|
VerticalPanel |
New(Rect)
GridPanel 생성하기
선언
public static VerticalPanel New(Rect rect)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Rect | rect |
반환
타입 | 설명 |
---|---|
VerticalPanel |