C# 클래스 ViewportControlManagementScript, Viewport

상속: MonoBehaviour
파일 보기 프로젝트 열기: tws2xa/Viewport

공개 프로퍼티들

프로퍼티 타입 설명
playerColors Color>.Dictionary
viewportIndicatorYOffset float
viewportTargetIndicatorTemlate Object

공개 메소드들

메소드 설명
CreateViewportTargetIndicator ( Vector3 iconStartPosition ) : void

Creates the viewport target icon.

DestroyViewportTargetIcon ( ) : void

Removes the viewport target icon.

HasCamera ( ) : bool

Checks if the object has the camera.

OnCollisionEnter ( Collision collision ) : void
Start ( ) : void
TakeCamera ( Vector3 iconPosition ) : void

Takes control of the viewport.

Update ( ) : void
loadSoundManager ( ) : void

비공개 메소드들

메소드 설명
CameraIsTargeting ( GameObject obj ) : bool

Checks whether or not the camera is targeting the given object

IsShielded ( ) : bool

Checks if this object is somehow shielded from losing the camera.

ObjectCanGrabCamera ( GameObject obj ) : bool

Checks if the given object should grab the camera

메소드 상세

CreateViewportTargetIndicator() 공개 메소드

Creates the viewport target icon.
public CreateViewportTargetIndicator ( Vector3 iconStartPosition ) : void
iconStartPosition Vector3
리턴 void

DestroyViewportTargetIcon() 공개 메소드

Removes the viewport target icon.
public DestroyViewportTargetIcon ( ) : void
리턴 void

HasCamera() 공개 메소드

Checks if the object has the camera.
public HasCamera ( ) : bool
리턴 bool

OnCollisionEnter() 공개 메소드

public OnCollisionEnter ( Collision collision ) : void
collision Collision
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

TakeCamera() 공개 메소드

Takes control of the viewport.
public TakeCamera ( Vector3 iconPosition ) : void
iconPosition Vector3
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

loadSoundManager() 공개 메소드

public loadSoundManager ( ) : void
리턴 void

프로퍼티 상세

playerColors 공개적으로 프로퍼티

public Dictionary playerColors
리턴 Color>.Dictionary

viewportIndicatorYOffset 공개적으로 프로퍼티

public float viewportIndicatorYOffset
리턴 float

viewportTargetIndicatorTemlate 공개적으로 프로퍼티

public Object viewportTargetIndicatorTemlate
리턴 Object