C# 클래스 ScreenRegion, swip3

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

공개 메소드들

메소드 설명
ClampToScreenRegion ( Vector3 aimPos, Vector3 &clampedPos, Vector3 &clampedDirection ) : float

Clamps a transform to this screen region and rotates it to face the aimPos

Update ( ) : void

비공개 메소드들

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

메소드 상세

ClampToScreenRegion() 공개 메소드

Clamps a transform to this screen region and rotates it to face the aimPos
public ClampToScreenRegion ( Vector3 aimPos, Vector3 &clampedPos, Vector3 &clampedDirection ) : float
aimPos Vector3 Aim position.
clampedPos Vector3
clampedDirection Vector3
리턴 float

Update() 공개 메소드

public Update ( ) : void
리턴 void