Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created April 18, 2018 09:59
Show Gist options
  • Save todorok1/27e2e935dac304335eb7651481ab4188 to your computer and use it in GitHub Desktop.
Save todorok1/27e2e935dac304335eb7651481ab4188 to your computer and use it in GitHub Desktop.
Unityチュートリアル・ガイドを表示するスクリプト。
void Start(){
sphereBooster = player.GetComponent<SphereBooster>();
sphereRb = player.GetComponent<Rigidbody>();
guideList = new List<GameObject>();
// Prefabをインスタンス化するメソッドを呼ぶ
InstantiateGuidePrefabs();
SetGuidePositions();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment