C# 클래스 Book

파일 보기 프로젝트 열기: Dandarawy/Unity3DBookPageCurl 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ClippingPlane Image
Left Image
LeftNext Image
NextPageClip Image
OnFlip UnityEvent
Right Image
RightNext Image
Shadow Image
ShadowLTR Image
background Sprite
bookPages Sprite[]
canvas Canvas
currentPage int
enableShadowEffect bool
interactable bool

공개 메소드들

메소드 설명
DragLeftPageToPoint ( Vector3 point ) : void
DragRightPageToPoint ( Vector3 point ) : void
Flip ( ) : void
OnMouseDragLeftPage ( ) : void
OnMouseDragRightPage ( ) : void
OnMouseRelease ( ) : void
ReleasePage ( ) : void
Start ( ) : void
TweenBack ( ) : void
TweenForward ( ) : void
TweenTo ( Vector3 to, float duration, System onFinish ) : IEnumerator
Update ( ) : void
UpdateBook ( ) : void
UpdateBookLTRToPoint ( Vector3 followLocation ) : void
UpdateBookRTLToPoint ( Vector3 followLocation ) : void
UpdateSprites ( ) : void
transformPoint ( Vector3 global ) : Vector3

비공개 메소드들

메소드 설명
Calc_C_Position ( Vector3 followLocation ) : Vector3
Calc_T0_T1_Angle ( Vector3 c, Vector3 bookCorner, Vector3 &t1 ) : float
normalizeT1X ( float t1, Vector3 corner, Vector3 sb ) : float

메소드 상세

DragLeftPageToPoint() 공개 메소드

public DragLeftPageToPoint ( Vector3 point ) : void
point Vector3
리턴 void

DragRightPageToPoint() 공개 메소드

public DragRightPageToPoint ( Vector3 point ) : void
point Vector3
리턴 void

Flip() 공개 메소드

public Flip ( ) : void
리턴 void

OnMouseDragLeftPage() 공개 메소드

public OnMouseDragLeftPage ( ) : void
리턴 void

OnMouseDragRightPage() 공개 메소드

public OnMouseDragRightPage ( ) : void
리턴 void

OnMouseRelease() 공개 메소드

public OnMouseRelease ( ) : void
리턴 void

ReleasePage() 공개 메소드

public ReleasePage ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

TweenBack() 공개 메소드

public TweenBack ( ) : void
리턴 void

TweenForward() 공개 메소드

public TweenForward ( ) : void
리턴 void

TweenTo() 공개 메소드

public TweenTo ( Vector3 to, float duration, System onFinish ) : IEnumerator
to Vector3
duration float
onFinish System
리턴 IEnumerator

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateBook() 공개 메소드

public UpdateBook ( ) : void
리턴 void

UpdateBookLTRToPoint() 공개 메소드

public UpdateBookLTRToPoint ( Vector3 followLocation ) : void
followLocation Vector3
리턴 void

UpdateBookRTLToPoint() 공개 메소드

public UpdateBookRTLToPoint ( Vector3 followLocation ) : void
followLocation Vector3
리턴 void

UpdateSprites() 공개 메소드

public UpdateSprites ( ) : void
리턴 void

transformPoint() 공개 메소드

public transformPoint ( Vector3 global ) : Vector3
global Vector3
리턴 Vector3

프로퍼티 상세

ClippingPlane 공개적으로 프로퍼티

public Image ClippingPlane
리턴 Image

Left 공개적으로 프로퍼티

public Image Left
리턴 Image

LeftNext 공개적으로 프로퍼티

public Image LeftNext
리턴 Image

NextPageClip 공개적으로 프로퍼티

public Image NextPageClip
리턴 Image

OnFlip 공개적으로 프로퍼티

public UnityEvent OnFlip
리턴 UnityEvent

Right 공개적으로 프로퍼티

public Image Right
리턴 Image

RightNext 공개적으로 프로퍼티

public Image RightNext
리턴 Image

Shadow 공개적으로 프로퍼티

public Image Shadow
리턴 Image

ShadowLTR 공개적으로 프로퍼티

public Image ShadowLTR
리턴 Image

background 공개적으로 프로퍼티

public Sprite background
리턴 Sprite

bookPages 공개적으로 프로퍼티

public Sprite[] bookPages
리턴 Sprite[]

canvas 공개적으로 프로퍼티

public Canvas canvas
리턴 Canvas

currentPage 공개적으로 프로퍼티

public int currentPage
리턴 int

enableShadowEffect 공개적으로 프로퍼티

public bool enableShadowEffect
리턴 bool

interactable 공개적으로 프로퍼티

public bool interactable
리턴 bool