1. 程式人生 > >[Unity3d]Player Settings匯出設定

[Unity3d]Player Settings匯出設定

iOS

Bundle Identifier 包識別符號

The Bundle Identifier string must match the provisioning profile of the game you are building. The basic structure of the identifier iscom.CompanyName.GameName. This structure may vary internationally based on where you live, so always default to the string provided to you by Apple for your Developer Account. Your GameName is set up in your provisioning certificates, that are manageable from the Apple iPhone Developer Center website. Please refer to the 

Apple iPhone Developer Center website for more information on how this is performed.

Bundle Identifier必須匹配構建遊戲時的配置檔案。識別符號的基本結構是com.CompanyName.GameName。該結構不同的地方可能有所不同,所以總是預設字串由蘋果提供給您的開發者帳戶。遊戲名稱在你的配置證書中設定,從蘋果的iPhone開發人員中心網站的管理。請參考蘋果的iPhone開發人員中心網站瞭解更新資訊。

Stripping Level (Pro-only) 剝離級別(僅專業版)

Most games don't use all necessary dlls. With this option, you can strip out unused parts to reduce the size of the built player on iOS devices. If your game is using classes that would normally be stripped out by the option you currently have selected, you'll be presented with a Debug message when you make a build.

大多數遊戲並不使用dll的全部功能,有了這個選項,你可以去掉未使用的部分,以減少iOS裝置上的內建播放器的大小。如果你的遊戲使用通過當前選擇的選項被剝離的類,當編譯遊戲時會看到一個除錯資訊。

Script Call Optimization 指令碼呼叫優化

A good development practice on iOS is to never rely on exception handling (either internally or through the use of try/catch blocks). When using the default Slow and Safe

 option, any exceptions that occur on the device will be caught and a stack trace will be provided. When using the Fast but no Exceptions option, any exceptions that occur will crash the game, and no stack trace will be provided. However, the game will run faster since the processor is not diverting power to handle exceptions. When releasing your game to the world, it's best to publish with the Fast but no Exceptions option.

在iOS一個良好的開發習慣是從不依賴異常處理(無論是內部或通過使用try/catch塊)。當使用預設的Slow and Safe選項,裝置上發生的任何異常將被捕獲,將提供一個堆疊跟蹤。當使用Fast but no Exceptions選項,發生的任何異常將導致遊戲崩潰,不提供堆疊跟蹤資訊;然而遊戲將執行的更快,因為處理器不分配運算來處理異常。當正式釋出遊戲時,最好帶有Fast but no Exceptions選項。