C# 클래스 RectDrawer, ES2015F

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

공개 메소드들

메소드 설명
DrawScreenRect ( Rect rect, Color color ) : void
DrawScreenRectBorder ( Rect rect, float thickness, Color color ) : void
GetScreenRect ( Vector3 screenPosition1, Vector3 screenPosition2 ) : Rect
GetViewportBounds ( Camera camera, Vector3 screenPosition1, Vector3 screenPosition2 ) : Bounds

비공개 메소드들

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

메소드 상세

DrawScreenRect() 공개 정적인 메소드

public static DrawScreenRect ( Rect rect, Color color ) : void
rect Rect
color Color
리턴 void

DrawScreenRectBorder() 공개 정적인 메소드

public static DrawScreenRectBorder ( Rect rect, float thickness, Color color ) : void
rect Rect
thickness float
color Color
리턴 void

GetScreenRect() 공개 정적인 메소드

public static GetScreenRect ( Vector3 screenPosition1, Vector3 screenPosition2 ) : Rect
screenPosition1 Vector3
screenPosition2 Vector3
리턴 Rect

GetViewportBounds() 공개 정적인 메소드

public static GetViewportBounds ( Camera camera, Vector3 screenPosition1, Vector3 screenPosition2 ) : Bounds
camera Camera
screenPosition1 Vector3
screenPosition2 Vector3
리턴 Bounds