C# 클래스 UIDragPanelContents, Prototype

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

공개 프로퍼티들

프로퍼티 타입 설명
draggablePanel UIDraggablePanel,

공개 메소드들

메소드 설명
Awake ( ) : void

Backwards compatibility.

OnDrag ( Vector2, delta ) : void

Drag the object along the plane.

OnPress ( bool pressed ) : void

Create a plane on which we will be performing the dragging.

OnScroll ( float delta ) : void

If the object should support the scroll wheel, do it.

Start ( ) : void

Automatically find the draggable panel if possible.

메소드 상세

Awake() 공개 메소드

Backwards compatibility.
public Awake ( ) : void
리턴 void

OnDrag() 공개 메소드

Drag the object along the plane.
public OnDrag ( Vector2, delta ) : void
delta Vector2,
리턴 void

OnPress() 공개 메소드

Create a plane on which we will be performing the dragging.
public OnPress ( bool pressed ) : void
pressed bool
리턴 void

OnScroll() 공개 메소드

If the object should support the scroll wheel, do it.
public OnScroll ( float delta ) : void
delta float
리턴 void

Start() 공개 메소드

Automatically find the draggable panel if possible.
public Start ( ) : void
리턴 void

프로퍼티 상세

draggablePanel 공개적으로 프로퍼티

This panel's contents will be dragged by the script.
public UIDraggablePanel, draggablePanel
리턴 UIDraggablePanel,