Home Game Dev unity资源 Unity Templates Mobile Controller System v2.1

Mobile Controller System v2.1

2862 Views Stock 911 2026-03-27

Details

 Mobile Controller System v2.1 is a production-grade game resource pack designed for Unity, offering a robust mobile controller solution optimized for iOS and Android. It features a mobile analog stick and universal button system that provides smooth, accurate input behavior with consistent performance across both mobile devices and the editor. The system supports multiple screen sizes and is built on Unity UI, ensuring compatibility and scalability. Key features include a strong scripting API, unrestricted modification capabilities, and easy texture replacement. All code is clean and well-documented, written in C#, making it simple to understand and customize. The analog stick outputs direction and magnitude, repositions based on initial touch input, and maintains stability when the touch is close to the aiming circle, while the aiming circle stays within screen boundaries. The analog stick is extended from the Universal Button component. The Universal Button supports activation through press-and-release or press-drag-release, and can be canceled by dragging and releasing on a cancel button. All button events—such as onPointerDown, onBeginDrag, onDrag, onPointerUp, onEndDrag, onActivateSkill, and onCancelSkill—are fired with a button ID parameter, enabling precise input handling in game logic. 
2026-03-27 00:00:00-update version:Mobile Controller System v2.1