Skip to content

Instantly share code, notes, and snippets.

@todorok1
Last active May 4, 2018 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todorok1/87ed1b99bfc60d3721333906b1b81e76 to your computer and use it in GitHub Desktop.
Save todorok1/87ed1b99bfc60d3721333906b1b81e76 to your computer and use it in GitHub Desktop.
Unityチュートリアル・コースアウト時の演出を実装するスクリプト
// ゴール用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