/*add by HanSyaun for showing code on article. start*/ /*add by HanSyaun for showing code on article. end*/
顯示具有 Unity 標籤的文章。 顯示所有文章
顯示具有 Unity 標籤的文章。 顯示所有文章

2018年3月2日 星期五

Unity 2017.2 + Android 5.1.1 with Unity Remote 無法連結?

1.確定手機有打開開發者模式,並且打開USB偵錯模式。
2.Project Setting -> Editor,Unity Remote Device選Andorid
3.把Unity IDE關掉,Unity Remote也關掉,USB也拔掉。
4.接上USB,打開Unity Remote,打開Unity,按Play。

2018年2月27日 星期二

如何在MAC的Unity2017.2上面build出apk並上傳到googlePlay進行Alpha Test

系統平台:
OS:High Sierra 10.13.3
Unity: 2017.2

這次接的案子一開始,Unity都是設在ios平台下,方便我使用自己的iphone進行測試。合作公司在申請了google play帳號後加我加為開發人員,所以這次的任務是unity切平台到android並且build出apk放上google play商店,並且發佈alpha test給測試人員。

首先在build apk時就遭遇問題:
1.build的時候出現"Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details.  See the Console for details."的Error。

2017年12月7日 星期四

如何用Unity 5.6.2 build出ipa,放到iTunes Connect後讓其他成員用TestFlight下載app到手機測試

How to build .ipa with Unity 5.6 and put on iTunes Connect(TestFlight) and let team member download it.

0.電腦端(KeyChain)產生好你的.p12憑證 ,並且匯出(等等要上傳developer center)
 

2017年2月28日 星期二

程式注意事項

  1. 用 [Tooltip("text")]增加滑鼠移上去的說明
  2. 用Range產生拉bar來限定能調的數字
  3. 用requireComponent來強制一定要給gameObj
  4. 不需要給美術調的參數就private
  5. 能盡量合併的參數就合併
  6. public private分開放