This class manages a player on the lobby/menu screen. Implements IActorInput interface for UI manipulation
More...
This class manages a player on the lobby/menu screen. Implements IActorInput interface for UI manipulation
◆ AddLobbyPlayer()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.AddLobbyPlayer |
( |
bool |
isBot | ) |
|
|
protectedvirtual |
Internal logic when adding new player in the lobby
- Parameters
-
isBot | If set to true player is a bot. |
◆ AddLocalPlayerToLobby()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.AddLocalPlayerToLobby |
( |
| ) |
|
|
protectedvirtual |
Adds a local player to lobby.
◆ AltActionDown()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.AltActionDown |
( |
| ) |
|
|
virtual |
◆ AltActionPressed()
void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.AltActionPressed |
( |
| ) |
|
◆ AltActionReleased()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.AltActionReleased |
( |
| ) |
|
|
virtual |
◆ CancelPlayer()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.CancelPlayer |
( |
| ) |
|
|
protectedvirtual |
◆ DownPressed()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.DownPressed |
( |
| ) |
|
|
virtual |
◆ DownReleased()
void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.DownReleased |
( |
| ) |
|
◆ HorizontalPosition()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.HorizontalPosition |
( |
float |
value | ) |
|
|
virtual |
◆ InitManagers()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.InitManagers |
( |
| ) |
|
|
protectedvirtual |
◆ InitStartState()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.InitStartState |
( |
| ) |
|
|
protectedvirtual |
Initializes the start state.
◆ InitUI()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.InitUI |
( |
| ) |
|
|
protectedvirtual |
Initializes links to UI elements
◆ LeftPressed()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.LeftPressed |
( |
| ) |
|
|
virtual |
◆ LeftReleased()
void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.LeftReleased |
( |
| ) |
|
◆ MainActionDown()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.MainActionDown |
( |
| ) |
|
|
virtual |
◆ MainActionPressed()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.MainActionPressed |
( |
| ) |
|
|
virtual |
◆ MainActionReleased()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.MainActionReleased |
( |
| ) |
|
|
virtual |
◆ MobileJoystickPosition()
void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.MobileJoystickPosition |
( |
Vector2 |
value | ) |
|
◆ OnAddBotButton()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.OnAddBotButton |
( |
| ) |
|
|
virtual |
Describes what happens when the Add Bot button gets pressed
◆ OnAddPlayerButton()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.OnAddPlayerButton |
( |
| ) |
|
|
virtual |
Describes what happens when the Add Player button gets pressed
◆ OnLeft()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.OnLeft |
( |
| ) |
|
|
virtual |
Describes what happens when the left button gets pressed
◆ OnReady()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.OnReady |
( |
bool |
fromGUI | ) |
|
|
virtual |
Describes what happens when the ready button is pressed
- Parameters
-
fromGUI | If this parameter is set to true, we won't activate the specific case where player 1 can start the game. This allows us to separate keyboard and joystick control from Mobile Touch and mouse controls |
◆ OnRemovePlayer()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.OnRemovePlayer |
( |
| ) |
|
|
virtual |
Describes what happens when a player gets removed
◆ OnRight()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.OnRight |
( |
| ) |
|
|
virtual |
Describes what happens when the right button gets pressed
◆ RespawnActionDown()
void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.RespawnActionDown |
( |
| ) |
|
◆ RespawnActionPressed()
void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.RespawnActionPressed |
( |
| ) |
|
◆ RespawnActionReleased()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.RespawnActionReleased |
( |
| ) |
|
|
virtual |
◆ RightPressed()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.RightPressed |
( |
| ) |
|
|
virtual |
◆ RightReleased()
void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.RightReleased |
( |
| ) |
|
◆ ShowSelectedVehicle()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.ShowSelectedVehicle |
( |
| ) |
|
|
protectedvirtual |
Shows the selected vehicle from the LobbyManager Available Vehicles
◆ Start()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.Start |
( |
| ) |
|
|
virtual |
◆ UpPressed()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.UpPressed |
( |
| ) |
|
|
virtual |
◆ UpReleased()
void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.UpReleased |
( |
| ) |
|
◆ VerticalPosition()
virtual void MoreMountains.HighroadEngine.LocalLobbyPlayerUI.VerticalPosition |
( |
float |
value | ) |
|
|
virtual |
◆ _currentVehicleIndex
int MoreMountains.HighroadEngine.LocalLobbyPlayerUI._currentVehicleIndex = -1 |
|
protected |
◆ _isBot
bool MoreMountains.HighroadEngine.LocalLobbyPlayerUI._isBot |
|
protected |
◆ _localLobbyManager
◆ _ready
bool MoreMountains.HighroadEngine.LocalLobbyPlayerUI._ready |
|
protected |
◆ AddPlayerZone
RectTransform MoreMountains.HighroadEngine.LocalLobbyPlayerUI.AddPlayerZone |
◆ CancelReadyButtonSprite
Sprite MoreMountains.HighroadEngine.LocalLobbyPlayerUI.CancelReadyButtonSprite |
◆ ChooseVehicleZone
RectTransform MoreMountains.HighroadEngine.LocalLobbyPlayerUI.ChooseVehicleZone |
◆ JoinActionInputName
string MoreMountains.HighroadEngine.LocalLobbyPlayerUI.JoinActionInputName |
Use this text to specify the MainActionButton name of this slot.
◆ LeftButton
Button MoreMountains.HighroadEngine.LocalLobbyPlayerUI.LeftButton |
◆ MenuSceneManager
LocalLobbyGameUI MoreMountains.HighroadEngine.LocalLobbyPlayerUI.MenuSceneManager |
Reference to menu scene manager.
◆ NewBotButton
Button MoreMountains.HighroadEngine.LocalLobbyPlayerUI.NewBotButton |
◆ NewPlayerButton
Button MoreMountains.HighroadEngine.LocalLobbyPlayerUI.NewPlayerButton |
◆ okToMove
bool MoreMountains.HighroadEngine.LocalLobbyPlayerUI.okToMove |
|
protected |
Stopper boolean for vehicle selector
◆ PlayerNameText
Text MoreMountains.HighroadEngine.LocalLobbyPlayerUI.PlayerNameText |
◆ Position
int MoreMountains.HighroadEngine.LocalLobbyPlayerUI.Position |
Slot number. Used for Input Management and UI.
◆ ReadyButton
Button MoreMountains.HighroadEngine.LocalLobbyPlayerUI.ReadyButton |
◆ ReadyButtonSprite
Sprite MoreMountains.HighroadEngine.LocalLobbyPlayerUI.ReadyButtonSprite |
◆ RemovePlayerButton
Button MoreMountains.HighroadEngine.LocalLobbyPlayerUI.RemovePlayerButton |
◆ RightButton
Button MoreMountains.HighroadEngine.LocalLobbyPlayerUI.RightButton |
◆ VehicleImage
Image MoreMountains.HighroadEngine.LocalLobbyPlayerUI.VehicleImage |
◆ VehicleText
Text MoreMountains.HighroadEngine.LocalLobbyPlayerUI.VehicleText |
The documentation for this class was generated from the following file: