|
virtual void | Start () |
| We get the player from its tag. More...
|
|
|
virtual bool | IsMobile [get, protected set] |
|
◆ InputForcedMode
Enumerator |
---|
None | |
Mobile | |
Desktop | |
◆ SetMobileControlsActive()
virtual void MoreMountains.Tools.MMTouchControls.SetMobileControlsActive |
( |
bool |
state | ) |
|
|
virtual |
Use this method to enable or disable mobile controls
- Parameters
-
◆ Start()
virtual void MoreMountains.Tools.MMTouchControls.Start |
( |
| ) |
|
|
protectedvirtual |
We get the player from its tag.
◆ _canvasGroup
CanvasGroup MoreMountains.Tools.MMTouchControls._canvasGroup |
|
protected |
◆ _initialMobileControlsAlpha
float MoreMountains.Tools.MMTouchControls._initialMobileControlsAlpha |
|
protected |
◆ AutoMobileDetection
bool MoreMountains.Tools.MMTouchControls.AutoMobileDetection = true |
If you check Auto Mobile Detection, the engine will automatically switch to mobile controls when your build target is Android or iOS. You can also force mobile or desktop (keyboard, gamepad) controls using the dropdown below.Note that if you don't need mobile controls and/or GUI this component can also work on its own, just put it on an empty GameObject instead.
◆ ForcedMode
Force desktop mode (gamepad, keyboard...) or mobile (touch controls)
◆ IsMobile
virtual bool MoreMountains.Tools.MMTouchControls.IsMobile |
|
getprotected set |
The documentation for this class was generated from the following file:
- F:/Github/Store/TopDownEngine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMTools/Foundation/MMControls/MMTouchControls.cs