Project Arrhythmia
A video game developed by Vitamin Games.
Loading...
Searching...
No Matches
AssignCamera Class Reference

Assigns a specific camera to the canvas component on the same GameObject. More...

+ Inheritance diagram for AssignCamera:

Private Member Functions

void Start ()
 

Private Attributes

CameraDB.CameraType cameraType = CameraDB.CameraType.MENU
 

Detailed Description

Assigns a specific camera to the canvas component on the same GameObject.

This component automatically assigns a camera from a predefined set (defined in CameraDB) to the Canvas component on the GameObject it is attached to. It is useful for scenarios where different cameras are used for different UI elements, such as menus, in-game UI, etc.

Note
This component requires a Canvas component on the same GameObject.

The documentation for this class was generated from the following file: