Oculusのチュートリアル「Build Your First VR App」をやる
感想
出来上がるのはVRアプリではない!酷い
たしかに冒頭には
>This tutorial helps you build your first VR app in Unity.
これがmisleadingというか、誇大広告
> It’s a basic app, which introduces primary Unity concepts such as 3D objects, components, and build settings.
こっちは正しい
>このチュートリアルは、Unityの基本的な概念やインターフェイスに慣れることを目的としているため、Oculus統合パッケージは使用しません
日本語版だとPlayerControllerが途中で見切れてるので英語で見た方がいい
textはLegacyを使う
文字列を出すのが難しい
Canvasの設定を
Screen space - cameraにしてMain Cameraから10離す
fontをこうする
このようになる
デフォルトのCanvas - overlayだとCanvasは非常に大きく、画面外にある
Canvasの値は自動で決まるらしく自分で変えることはできない
なんで?
>When the canvas is set to screen overlay, its size is set to the same resolution as the game window.
> So if your window is 1920x1080 pixels, the canvas will be 1920 units long and 1080 units high (hence why it is so massive).
Build and runでエラー
UnityEditor.BuildPlayerWindow+BuildMethodException: Error building Player: Currently selected scripting backend (Mono) is not installed.
Android向けにビルドするとNo Android device connected
QuestとMacを接続してQuestを起動し、Quest上に現れるダイアログからUSB debuggingをallowすると実行できる
これは断じてVRアプリではない
公式チュートリアルをなぞってこれになるのは期待値を下回っている
これかな?
target deviceにQuest Proがいない
ちょっとVRになった
操作はまだできない。というか球が消えてる
この教材で学ぶのはあきらめた
Git管理してUnity Hubで開いてゲームができることを確かめた