2014年1月21日 星期二

將Unity3D專案發佈在Windows Phone上



作業環境限制


  1. Windows8  ,請用64-bit pro版本,32-bit版本會無法裝之後的WindowsPhoneSDK8.0。
  2. VisualStudio2012,更高版本也可以。
  3. 需安裝WindwosPhoneSDK8.0。
  4. WindwosPhose手機要解鎖,付費或取得資格,於Windows Phone Developer Registration項目偵測及開啟手機連結(圖1)

  
圖1


使用步驟



  1. 打開VisualStudio,建立專案,種類選擇WindwosPhone應用程式,建立好後關閉(圖2)。 
  2. 打開Unity,選擇左上方功能列的File > Build Settings(圖3)
  3. Platform選擇Windows Phone8,按下Switch Platform。
  4. Scenes In Build 按下Add Current增加所需的Scenes。
  5. Development Build項目打勾。
  6. 按下左下的Build And Run,路俓選擇步驟1產的專案資料夾,即可編完後輸出至手機(圖4)

圖2 
 
圖3

圖4