Last active
May 4, 2018 13:29
-
-
Save todorok1/87ed1b99bfc60d3721333906b1b81e76 to your computer and use it in GitHub Desktop.
Unityチュートリアル・コースアウト時の演出を実装するスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ゴール用UIテキストオブジェクトへの参照 | |
[SerializeField] | |
GameObject goalTextObject; | |
// ここから下2つを追加 | |
// カメラオブジェクトへの参照 | |
[SerializeField] | |
GameObject cameraObject; | |
// ミステキストオブジェクトへの参照 | |
[SerializeField] | |
GameObject fallTextObject; | |
// 追加ここまで | |
// 中略 | |
// メンバ変数の最後尾に追加 | |
// カメラコントローラへの参照キャッシュ | |
CameraController cameraController; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment