Created
April 18, 2018 09:59
-
-
Save todorok1/7963ff26c4cce5133a4d8a61e6e326db 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
// SphereBoosterへの参照をキャッシュ | |
SphereBooster sphereBooster; | |
// 『Sphere』オブジェクトのRigidbodyへの参照をキャッシュ | |
Rigidbody sphereRb; | |
// インスタンス化されたGuideオブジェクトのリスト | |
List<GameObject> guideList; | |
// 画面にプロットするガイドの数を定義 | |
int prots = 8; | |
// スクリプト内で位置を計算するのでrelativePosは削除 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment