|
Highroad Engine v1.3
|
Network vehicle controller. In charge of the network manager for players in game More...
Public Member Functions | |
| virtual void | Awake () |
| controller initialisation More... | |
| virtual void | Start () |
| We initialize photon More... | |
| virtual void | Update () |
| We synchronize score More... | |
| virtual void | OnDestroy () |
| virtual void | EnableControls () |
| Enables the controls when vehicle is controlled by a local player More... | |
| virtual void | DisableControls () |
| Disables the controls when vehicle is is controlled by a local player More... | |
| virtual void | SetPlayerName (string value) |
| Sets the name of the player. More... | |
Public Attributes | |
| string | PlayerName |
| int | Score |
Protected Attributes | |
| float | SteerValue |
| float | GasPedalValue |
| BaseController | _controller |
| RaceManager | _raceManager |
Network vehicle controller. In charge of the network manager for players in game
|
virtual |
controller initialisation
|
virtual |
Disables the controls when vehicle is is controlled by a local player
|
virtual |
Enables the controls when vehicle is controlled by a local player
|
virtual |
|
virtual |
Sets the name of the player.
| value | Value. |
Implements MoreMountains.HighroadEngine.INetworkVehicle.
|
virtual |
We initialize photon
|
virtual |
We synchronize score
|
protected |
|
protected |
|
protected |
| string MoreMountains.HighroadEngine.PunVehicleController.PlayerName |
| int MoreMountains.HighroadEngine.PunVehicleController.Score |
|
protected |