发布于: 2023-3-24最后更新: 2023-3-24字数 243阅读时长 1 分钟

type
Post
status
Published
date
Mar 24, 2023
slug
unity-adb
summary
查询已连接列表 adb devices -l adb kill-server adb start-server adb forward --remove-all(清除之前的)
tags
调试相关
category
项目优化
icon
password

查询已连接列表

重置命令

获取CPU指令集 判断是否为 ARMv7 or ARM64

adb指定设备连接

常用连接

G17连接示例

把Unity平台切换到安卓后会自动显示连接端口号,eg:AndroidPlayer([email protected]:34999) ⇒ 新手容易忽略细节

真机连接流程

模拟器连接流程


Loading...
Unity 安卓联网出现 Cleartext HTTP Traffic to xxx not permitted

Unity 安卓联网出现 Cleartext HTTP Traffic to xxx not permitted

Unity 安卓联网出现 Cleartext HTTP Traffic to xxx not permitted


Unity中UI系统

Unity中UI系统

内置的 UI 系统 1 UGUI 自2014年的Unity4.6开始就内置的UI系统,常用的Unity运行时UI系统。 2 UIToolkit 前身是UIElement,发布于Unity2018。起初用于开发Editor编辑器面板中的UI,自Unity2019起正式支持运行时UI,并更名UIToolkit,它以Package包的形式存在。自Unity2021.2起,UIToolkit被官方内置,与UGUI地位一致。 3 IMGUI 跟随Unity诞生的原始UI系统,一般用于编辑器的扩展以及游戏内调试显示,不推荐用于构建运行时UI。