Unity 遊戲開發筆記
Last updated
Was this helpful?
Last updated
Was this helpful?
https://answers.unity.com/questions/412117/do-something-while-key-is-pressed-and-held-down.html
adb logcat -s Unity PackageManager dalvikvm DEBUG
(使用裝置 USB 連上電腦)
Edit -> project setting -> product name 改變 app 名稱,也可改變執行後的 orientation
2. File-> build setting 選擇 android (如果不能選要回到 Unity Hub 改為 android build 然後重開 unity)
3. File -> build and Run
如果不小心在手機上直接刪除了測試中的 app 可以用 adb 移除套件或是改變 product name 也可以
4. 如果只有改程式碼可以勾選 development build 之後下面會出現 script only build 然後點選 patch and run
重新到 build setting 選擇 Build and Run 即可。另外可查看是否大小需要調整。
= ;