C# 클래스 FlightCamera, Unity-Free-Flight

상속: MonoBehaviour
파일 보기 프로젝트 열기: NickolausDS/Unity-Free-Flight 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
cam GameObject
firstPersonPosition Vector3
flareCamAngle float
flareCamDist float
flareDuration float
flareLag float
rotationLag float
target GameObject
thirdPersonLag float
thirdPersonPosition Vector3

공개 메소드들

메소드 설명
Awake ( ) : void
Update ( ) : void
flareLook ( ) : void

Adjust the camera angle for a flare maneuver. The look direction will be the area the player wants to land, forward/below them about 50 degrees. You can adjust the look angle and duration by modifying the flarelook angle/timer variables above.

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

flareLook() 공개 메소드

Adjust the camera angle for a flare maneuver. The look direction will be the area the player wants to land, forward/below them about 50 degrees. You can adjust the look angle and duration by modifying the flarelook angle/timer variables above.
public flareLook ( ) : void
리턴 void

프로퍼티 상세

cam 공개적으로 프로퍼티

public GameObject cam
리턴 GameObject

firstPersonPosition 공개적으로 프로퍼티

public Vector3 firstPersonPosition
리턴 Vector3

flareCamAngle 공개적으로 프로퍼티

public float flareCamAngle
리턴 float

flareCamDist 공개적으로 프로퍼티

public float flareCamDist
리턴 float

flareDuration 공개적으로 프로퍼티

public float flareDuration
리턴 float

flareLag 공개적으로 프로퍼티

public float flareLag
리턴 float

rotationLag 공개적으로 프로퍼티

public float rotationLag
리턴 float

target 공개적으로 프로퍼티

public GameObject target
리턴 GameObject

thirdPersonLag 공개적으로 프로퍼티

public float thirdPersonLag
리턴 float

thirdPersonPosition 공개적으로 프로퍼티

public Vector3 thirdPersonPosition
리턴 Vector3