![]() |
Project Arrhythmia
A video game developed by Vitamin Games.
|
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 |
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.