Unityã§iOSã®ã¸ã£ã¤ã使ããã¨æã£ã¦èª¿ã¹ãã¨ããã ãInput.gyro.attitudeã§Quatenionã§åãã¾ã£ããã£ã¦ã®ã¯åºã¦ãããã ãã© ã¡ããã¨åº§æ¨ç³»ã«ã¤ãã¦èª¬æãã¦ãã¨ãããè¦ã¤ããããªãã£ãã®ã§ ãµã«ããµã«ãæ¸ãã¦ã¿ã #座æ¨ç³»ã®éã iOSã®åº§æ¨ç³»ã¯iPhoneã ã¨ãã ï¼ Screen.orientation == ScreenOrientation.Portrait ã®å ´åãScreen.orientationã®å¤ã«ãã£ã¦ãããã®ã§æ³¨æï¼ Unityã¯ã馴æã¿ã®ãã 注ç®ãã¤ã³ãã¯ï¼ç¹ 座æ¨ç³»ãå³æç³»ã¨å·¦æç³» ç¡å転ãªæ¨æºç¶æ ãiPhoneãç½®ããç¶æ ãY軸ã§ã¯ãªãZ軸ãéåã®å対æ¹å #座æ¨ç³»ã®å¤æ ä»åã¯iOSã®ã«ã¡ã©ãåãã¦ããæ¹åãUnityä¸ã®Z軸ã¨ãã¦æ±ãããã£ãã®ã§ ããããå¤æãè¡ããã â ##å³æ系左æç³» iOSã¯å³æç³»ãUnityã¯å·¦æ
{{#tags}}- {{label}}
{{/tags}}