Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
burning-ape committed Nov 18, 2022
2 parents 75332eb + 01f4e4b commit 417ef75
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
# Unity Mobile Touch Controls Overview
Unity Mobile Touch Controlls is a tool developed to help Unity developers with implementing touch controlls in games and apps for mobile devices.

# Guide
1. Download and import the package into your project.

2. Open the script in which you will operate with touch controlls.

3. Define and initialize Touch Data struct as global variable and make it either public or with SerializeField attribute to make it visible in Inspector.

4. Define TouchControlls class as global variable and in Start Method initialize it passing down TouchData as argument in constructor.

5. In Start method add methods to invoke in TouchControlls events you need.

6. In Update method call TouchControlls Run method so it will detect touch input.

7. Methods, used as listeners in TouchControlls event should have TouchData as argument, because TouchControlls returns TouchData varibles.

## Example
[![Example.png](https://i.postimg.cc/ZRVNT0TK/Example.png)](https://postimg.cc/YGL0RrGJ)

Expand Down

0 comments on commit 417ef75

Please sign in to comment.