Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.26 KB

File metadata and controls

32 lines (25 loc) · 1.26 KB

Touch-Controls-Test

Purpose:

The purpose of this project was to get mobile controls such as tapping, dragging, and zooming working in a unity project. These controls all work in a scene where a player can interact with plots and UI elements to place buildings.

Controls:

  • Movement: Drag/Pinch
  • Interact: Tap

Instructions for Unity:

  1. Clone repo
  2. Open Unity Hub
  3. Select open
  4. Select the Unity project folder in the directory of the clone
  5. The project will be added to Unity hub
  6. Select the project to open it (The project was last run in Unity version 2021.1.15f1)
  7. Compile project and run in Xcode to run on an Apple device.

Images/Gifs:


Image of the project running.


Gif of the tapping function.


Gif of the pan function.


Gif of the zoom function.

Credit:

Building Models/UI Elements: https://www.kenney.nl