TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.MultiplayerGUIManager Class Reference
Inheritance diagram for MoreMountains.TopDownEngine.MultiplayerGUIManager:
MoreMountains.TopDownEngine.GUIManager MoreMountains.Tools.MMSingleton< T >

Public Attributes

GameObject SplitHUD
 the HUD to display when in split screen mode
GameObject GroupHUD
 the HUD to display when in group camera mode
GameObject SplittersGUI
 a UI object used to display the splitters UI images
Public Attributes inherited from MoreMountains.TopDownEngine.GUIManager
Canvas MainCanvas
 the main canvas
GameObject HUD
 the game object that contains the heads up display (avatar, health, points...)
MMProgressBar[] HealthBars
 the health bars to update
MMProgressBar[] DashBars
 the dash bars to update
AmmoDisplay[] AmmoDisplays
 the panels and bars used to display current weapon ammo
GameObject PauseScreen
 the pause screen game object
GameObject DeathScreen
 the death screen
CanvasGroup Buttons
 The mobile buttons.
CanvasGroup Arrows
 The mobile arrows.
CanvasGroup Joystick
 The mobile movement joystick.
Text PointsText
 the points counter
string PointsTextPattern = "000000"
 the pattern to apply to format the display of points

Additional Inherited Members

Public Member Functions inherited from MoreMountains.TopDownEngine.GUIManager
virtual void SetHUDActive (bool state)
 Sets the HUD active or inactive.
virtual void SetAvatarActive (bool state)
 Sets the avatar active or inactive.
virtual void SetMobileControlsActive (bool state, InputManager.MovementControls movementControl=InputManager.MovementControls.Joystick)
 Called by the input manager, this method turns controls visible or not depending on what's been chosen.
virtual void SetPauseScreen (bool state)
 Sets the pause screen on or off.
virtual void SetDeathScreen (bool state)
 Sets the death screen on or off.
virtual void SetDashBar (bool state, string playerID)
 Sets the jetpackbar active or not.
virtual void SetAmmoDisplays (bool state, string playerID, int ammoDisplayID)
 Sets the ammo displays active or not.
virtual void RefreshPoints ()
 Sets the text to the game manager's points.
virtual void UpdateHealthBar (float currentHealth, float minHealth, float maxHealth, string playerID)
 Updates the health bar.
virtual void UpdateDashBars (float currentFuel, float minFuel, float maxFuel, string playerID)
 Updates the dash bars.
virtual void UpdateAmmoDisplays (bool magazineBased, int totalAmmo, int maxAmmo, int ammoInMagazine, int magazineSize, string playerID, int ammoDisplayID, bool displayTotal)
 Updates the (optional) ammo displays.
Static Public Member Functions inherited from MoreMountains.Tools.MMSingleton< T >
static T TryGetInstance ()
Protected Member Functions inherited from MoreMountains.TopDownEngine.GUIManager
override void Awake ()
 Initialization.
virtual void Initialization ()
virtual void Start ()
 Initialization.
Protected Member Functions inherited from MoreMountains.Tools.MMSingleton< T >
virtual void InitializeSingleton ()
 Initializes the singleton.
Static Protected Member Functions inherited from MoreMountains.TopDownEngine.GUIManager
static void InitializeStatics ()
 Statics initialization to support enter play modes.
Protected Attributes inherited from MoreMountains.TopDownEngine.GUIManager
float _initialJoystickAlpha
float _initialButtonsAlpha
bool _initialized = false
Static Protected Attributes inherited from MoreMountains.Tools.MMSingleton< T >
static T _instance
Properties inherited from MoreMountains.Tools.MMSingleton< T >
static bool HasInstance [get]
static T Current [get]
static T Instance [get]
 Singleton design pattern.

Member Data Documentation

◆ GroupHUD

GameObject MoreMountains.TopDownEngine.MultiplayerGUIManager.GroupHUD

the HUD to display when in group camera mode

◆ SplitHUD

GameObject MoreMountains.TopDownEngine.MultiplayerGUIManager.SplitHUD

the HUD to display when in split screen mode

◆ SplittersGUI

GameObject MoreMountains.TopDownEngine.MultiplayerGUIManager.SplittersGUI

a UI object used to display the splitters UI images


The documentation for this class was generated from the following file: