This package requires at least Unity 6000.0.46f1

Adding Mobile Controls to your project

Add the Mobile-specific prefabs into your HECore.

The project includes an HECorePrefabs asset already configured for mobile. Simply use this asset in your scene HECore to enable mobile controls.

<aside> ⚠️

It is recommented that you create your own HECore asset for your game.

</aside>

Use the HECorePrefabs in all your scenes HECore or create a prefab variant of HECore using your game HECorePrefabs asset.

image.png

Change the PlayerInput prefab DefaultScheme to Any and disable Auto-Switch.

image.png

Inside the prefab HECore.CursorController, make sure StartInUI is checked.

If that variable is still not there (new version still not published) then simply comment this line inside CursorController.cs

image.png

Add the Mobile-specific prefab to the main menu.

Replace the LoadScreen in the main menu with the mobile-specific prefab UIMobileLoadScreen

image.png

First Person Compatibility