Property | Type | Description | |
---|---|---|---|
playerColors | Color>.Dictionary | ||
viewportIndicatorYOffset | float | ||
viewportTargetIndicatorTemlate | Object |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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
|
public CreateViewportTargetIndicator ( Vector3 iconStartPosition ) : void | ||
iconStartPosition | Vector3 | |
return | void |
public OnCollisionEnter ( Collision collision ) : void | ||
collision | Collision | |
return | void |
public TakeCamera ( Vector3 iconPosition ) : void | ||
iconPosition | Vector3 | |
return | void |