Mobile Controller System

Updated
2024-03-23
Premium
Templates
Version
2.3
File size
6 MB
Views
284
Only For Premium or VIP Users
Description

Production Grade.
Mobile analog stick and universal button system.
Optimized for iOS and Android.
Support multiple screen size.

 

Features
- Strong scripting API
- Unrestricted modification
- Smooth and accurate mobile controller system
- Mobile have same behavior as editor
- All textures are easy to replace
- Clean, easy to understand C# code
- Allow unrestricted modification
- Based on Unity UI

 

Analog Stick Behaviour
- Output direction and amount
- Reposition itself based on initial touch input
- Will not reposition if initial touch input is in close proximity of aiming circle
- Aiming circle will not go out of screen boundary
- Extended from Universal Button

 

Universal Button Behaviour
- can be activated by
1. Press > Release
2. Press > Drag > Release
- cancel Activation by
Press > Drag > release on cancel button
- All events fired with button ID parameter

 

Universal Button event list
- onPointerDown
- onBeginDrag
- onDrag
- onPointerUp
- onEndDrag
- onActivateSkill
- onCancelSkill

Comments
Comments is not yet
Add Comment
Please register
You may also like