Class Panel
패널을 표시하는 GUI 클래스
네임스페이스: Game.Scripts.UI
어셈블리: Assembly-CSharp.dll
Syntax
[MoonSharpUserData]
public class Panel : Control
생성자
Panel(Rect)
Panel 생성하기
선언
public Panel(Rect rect = null)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Rect | rect | Rect 범위 |
Panel(RectTransform, Control)
패널을 표시하는 GUI 클래스
선언
public Panel(RectTransform rt, Control original)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
UnityEngine.RectTransform | rt | |
Control | original |
프로퍼티
color
패널의 배경색상
선언
public Color color { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
Color |
raycastTarget
패널의 raycastTarget 속성.
선언
public bool raycastTarget { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
함수
__call(Panel, Dictionary<string, object>)
패널을 표시하는 GUI 클래스
선언
[MoonSharpUserDataMetamethod("__call")]
public static Panel __call(Panel self, Dictionary<string, object> style)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Panel | self | |
System.Collections.Generic.Dictionary<TKey, TValue><string, object> | style |
반환
타입 | 설명 |
---|---|
Panel |
__call(object, Rect)
패널을 표시하는 GUI 클래스
선언
[MoonSharpUserDataMetamethod("__call")]
public static Panel __call(object self, Rect rect)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
object | self | |
Rect | rect |
반환
타입 | 설명 |
---|---|
Panel |
__pairs(Panel)
패널을 표시하는 GUI 클래스
선언
[MoonSharpUserDataMetamethod("__pairs")]
public static DynValue __pairs(Panel self)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Panel | self |
반환
타입 | 설명 |
---|---|
MoonSharp.Interpreter.DynValue |
LoadPage(string)
패널에 레이아웃 페이지를 로드합니다
선언
public void LoadPage(string pageName)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
string | pageName | 대상 페이지 이름 |