完整项目 【更新】Mobile Controller System 2.1

Unity插件信息
插件名称: Mobile Controller System
插件官网: https://assetstore.unity.com/packages/templates/systems/mobile-controller-system-161533#description
版本: 2.1
解压密码:
素材类型: 完整项目
本帖最后由 微笑的猫 于 2024-10-16 10:12 编辑


Mobile Controller System 2.2版下载链接










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


生产等级。
移动模拟摇杆和通用按钮系统。
专为 iOS 和 Android 优化。
支持多种屏幕尺寸。

功能特点
- 强大的脚本 API
- 无限制修改
- 流畅准确的移动控制器系统
- 手机与编辑器具有相同的行为
- 所有纹理均可轻松替换
- 简洁易懂的 C# 代码
- 允许无限制修改
- 基于 Unity UI

模拟摇杆行为
- 输出方向和数量
- 根据初始触摸输入重新定位
- 如果初始触摸输入距离瞄准圈很近,则不会重新定位
- 瞄准圆不会超出屏幕边界
- 从通用按钮扩展

通用按钮行为
- 可通过以下方式激活
1. 按下 > 释放
2. 按下 > 拖动 > 释放
- 取消激活
按下 > 拖动 > 释放取消按钮
- 使用按钮 ID 参数触发的所有事件
通用按钮事件列表
- onPointerDown
- 开始拖动
- 开始拖动
- 上指针
- 结束拖动
- 激活技能
- 取消技能





作者 cg小白兔 发表于 2024-5-30 12:01:12
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布7835

热门作品推荐
glow
Ragdoll dismemberment system 2.1布娃娃肢
glow
Amplify Shader Editor 1.9.8.1
glow
Mega-Fiers 3.53 模型网格动画自定义变形弯
glow
唐代著名画家吴道子绘画作品八十七神仙卷送
glow
60款中式古典花纹中国风传统背景喜庆图案无
glow
Modular Castle & Dungeon 适配UE5.3+中世
glow
Modular Wild West Town 适配UE5.3+模块化
glow
Modular Castle (Castle, Castles, Modular
glow
Modular Desert Town - Desert City - Dese
glow
Flame Thrower Robot 适配UE5.5+科幻火焰喷