C# 클래스 UIStretch, Prototype

상속: MonoBehaviour
파일 보기 프로젝트 열기: Lifespark/Prototype 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
initialSize Vector2
panelContainer UIPanel
relativeSize Vector2
runOnlyOnce bool
style Style
uiCamera Camera
widgetContainer UIWidget

공개 메소드들

메소드 설명
Awake ( ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

initialSize 공개적으로 프로퍼티

The size that the item/image should start out initially. Used for FillKeepingRatio, and FitInternalKeepingRatio. Contributed by Dylan Ryan.
public Vector2 initialSize
리턴 Vector2

panelContainer 공개적으로 프로퍼티

Panel used to determine the container's bounds. Overwrites the widget-based anchoring if the value was specified.
public UIPanel panelContainer
리턴 UIPanel

relativeSize 공개적으로 프로퍼티

Relative-to-target size.
public Vector2 relativeSize
리턴 Vector2

runOnlyOnce 공개적으로 프로퍼티

Whether the operation will occur only once and the script will then be disabled.
public bool runOnlyOnce
리턴 bool

style 공개적으로 프로퍼티

Stretching style.
public Style style
리턴 Style

uiCamera 공개적으로 프로퍼티

Camera used to determine the anchor bounds. Set automatically if none was specified.
public Camera uiCamera
리턴 Camera

widgetContainer 공개적으로 프로퍼티

Widget used to determine the container's bounds. Overwrites the camera-based anchoring if the value was specified.
public UIWidget widgetContainer
리턴 UIWidget