This class allows for a fast demo scene boot, without a RaceManager You just have to put it in a scene for the cameras to auto bind themselves to the vehicle and for that vehicle to be bound to Player1's input. If more than one vehicle/camera are present in the scene and active, a button appears in the GUI to switch between vehicles and cameras Disabling FindCamerasInScene and FindVehiclesInScene allows you to associate cameras and vehicles manually via the Cameras and Vehicles lists
More...
|
virtual void | OnGUI () |
| Displays the UI controls allowing to change camera and vehicle More...
|
|
This class allows for a fast demo scene boot, without a RaceManager You just have to put it in a scene for the cameras to auto bind themselves to the vehicle and for that vehicle to be bound to Player1's input. If more than one vehicle/camera are present in the scene and active, a button appears in the GUI to switch between vehicles and cameras Disabling FindCamerasInScene and FindVehiclesInScene allows you to associate cameras and vehicles manually via the Cameras and Vehicles lists
◆ HideUI()
virtual void MoreMountains.HighroadEngine.DemonstratorManager.HideUI |
( |
| ) |
|
|
virtual |
Masks UI controls if necessary
◆ OnGUI()
virtual void MoreMountains.HighroadEngine.DemonstratorManager.OnGUI |
( |
| ) |
|
|
protectedvirtual |
Displays the UI controls allowing to change camera and vehicle
◆ RefreshCamera()
virtual void MoreMountains.HighroadEngine.DemonstratorManager.RefreshCamera |
( |
| ) |
|
|
virtual |
Updates the active camera
◆ Start()
virtual void MoreMountains.HighroadEngine.DemonstratorManager.Start |
( |
| ) |
|
|
virtual |
◆ Update()
virtual void MoreMountains.HighroadEngine.DemonstratorManager.Update |
( |
| ) |
|
|
virtual |
Updates active camera and vehicle if needed
◆ _currentCameraIndex
int MoreMountains.HighroadEngine.DemonstratorManager._currentCameraIndex = -1 |
|
protected |
◆ _currentVehicleIndex
int MoreMountains.HighroadEngine.DemonstratorManager._currentVehicleIndex = -1 |
|
protected |
◆ _wantedCameraIndex
int MoreMountains.HighroadEngine.DemonstratorManager._wantedCameraIndex = 0 |
|
protected |
◆ _wantedVehicleIndex
int MoreMountains.HighroadEngine.DemonstratorManager._wantedVehicleIndex = 0 |
|
protected |
◆ Cameras
The "manual" list of cameras if you'd rather force that.
◆ FindCamerasInScene
bool MoreMountains.HighroadEngine.DemonstratorManager.FindCamerasInScene = true |
Whether or not this manager should find all active cameras in the scene.
◆ FindVehiclesInScene
bool MoreMountains.HighroadEngine.DemonstratorManager.FindVehiclesInScene = true |
Whether or not the manager should find all active vehicles in the scene.
◆ ShowGui
bool MoreMountains.HighroadEngine.DemonstratorManager.ShowGui = true |
◆ Vehicles
BaseController [] MoreMountains.HighroadEngine.DemonstratorManager.Vehicles |
The "manual" list of vehicles to use.
The documentation for this class was generated from the following file: