助けて
開発FAQ
VSCode エディターで ZEPETO スクリプトを使用するとエラー検出が正しく機能しません
1min
VSCodeエディタでZEPETOスクリプトを編集していると、Typescriptのバージョンが正しくない現象が発生します。
この場合、正しいバージョンを認識するために以下の方法を使用できます。
1) 実行中のVSCodeを完全にシャットダウンします。
2) Unityエディタで、ZEPETOスクリプトを右クリックし、C#プロジェクトを開くメニューを選択します。

3) ビュー > コマンドパレットメニューを起動します。(ホットキー:Ctrl + Shift + P)

4) コマンドパレットに「Typescriptバージョンを選択」と入力します。

5) コマンドパレットに「ワークスペースバージョンを使用」と入力します。

その後、Vector3とQuaternionも正しく認識され、使用できるようになります。