動態請參考我另一篇文章:

Unity輸出到手機上的螢幕方向選擇(動態)

 

使用Unity 4

(我選擇輸出到Android上)

File → Build Settings → 選Android → Switch Platform → Player Settings

 

可以看到下圖

 

點選第一個 Resolution And Presentation ,再來就是調整紅圈的選項

 

內有5個選項,其意思分別為:

Portrait   直向
Portrait Upside Down  直向(不過是上下顛倒)
Landscape Right  橫向(右翻轉)
Landscape Left  橫向(左翻轉)
Auto Rotation   自由翻轉

文章標籤
全站熱搜
創作者介紹
創作者 Yang 的頭像
Yang

Yang的部落格(轉貼文章請註記來源)

Yang 發表在 痞客邦 留言(0) 人氣(4,299)