Manages all camera components in the scene, allowing to add, remove, and switch between active cameras. Provides a singleton interface for global access.
static CameraManager& Instance();
Returns the Camera manager singleton.
void Unload();
Unloads all cameras and resets the manager.
void AddCamera(CameraComponent* pCameraToAdd);
Adds a new camera component to the vector.
void RemoveCamera(CameraComponent* pCameraToRemove);
Removes a camera component from the vector.
void UpdateCurrentCamera();
Updates the currently active camera component.
void SetCurrentCamera(int pIndex);
Change the current camera component with an index.
void SetCurrentCamera(CameraComponent* pCameraToActivate);
Change the current camera component with a component.
inline CameraComponent* GetCurrentCamera() const;
Returns the active camera component.