C# 클래스 bl_HudUtility, RoverGame

파일 보기 프로젝트 열기: Stumpstump/RoverGame

공개 메소드들

메소드 설명
GetPivot ( float h, float v, float size ) : Vector2

GetRotation ( float x1, float y1, float x2, float y2 ) : float

HalfSize ( float s ) : float

Marge ( Vector2 v, float size ) : Vector2

ScalerRect ( Rect _rect ) : Rect

ScreenPosition ( Transform t ) : Vector3

Determine the adsolute position of target in screen

isOnScreen ( Vector3 pos, Transform t ) : bool

메소드 상세

GetPivot() 공개 정적인 메소드

public static GetPivot ( float h, float v, float size ) : Vector2
h float
v float
size float
리턴 Vector2

GetRotation() 공개 정적인 메소드

public static GetRotation ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
리턴 float

HalfSize() 공개 정적인 메소드

public static HalfSize ( float s ) : float
s float
리턴 float

Marge() 공개 정적인 메소드

public static Marge ( Vector2 v, float size ) : Vector2
v Vector2
size float
리턴 Vector2

ScalerRect() 공개 정적인 메소드

public static ScalerRect ( Rect _rect ) : Rect
_rect Rect
리턴 Rect

ScreenPosition() 공개 정적인 메소드

Determine the adsolute position of target in screen
public static ScreenPosition ( Transform t ) : Vector3
t Transform
리턴 Vector3

isOnScreen() 공개 정적인 메소드

public static isOnScreen ( Vector3 pos, Transform t ) : bool
pos Vector3
t Transform
리턴 bool