MyDungeon Documentation
![]() | CameraController Class |
Controller for the Main Camera

Namespace: MyDungeon.Controllers
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0

C#
public class CameraController : MonoBehaviour
The CameraController type exposes the following members.

Name | Description | |
---|---|---|
![]() | CameraController | Initializes a new instance of the CameraController class |

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
|

Name | Description | |
---|---|---|
![]() | Offset |
The offset of the camera location
|
![]() | Player |
The game object the camera tracks
|

Name | Description | |
---|---|---|
![]() | Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
