MyDungeon Documentation
CameraController Class |
Controller for the Main Camera
Inheritance Hierarchy
Namespace: MyDungeon.Controllers
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class CameraController : MonoBehaviour
The CameraController type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CameraController | Initializes a new instance of the CameraController class |
Methods
Name | Description | |
---|---|---|
LateUpdate |
Centers the camera on the object tagged as Player
| |
Start |
Sets the position offset for the camera to the camera starting position
|
Fields
Name | Description | |
---|---|---|
Offset |
The offset of the camera location
| |
Player |
The game object the camera tracks
|
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also