Skip to content

Instantly share code, notes, and snippets.

@todorok1
Last active May 4, 2018 13:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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