Last active
April 18, 2018 10:07
-
-
Save todorok1/abbaef0a2286d16255052ff7645bed05 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
// GuideManagerで力の大きさを読み取ることができるよう、 | |
// SphereBooster.csにこのpublicメソッドを追加する | |
public Vector3 GetBoostForce(){ | |
// 力の大きさと方向をかけたベクトルを返す | |
CalcForceDirection(); | |
return forceMagnitude * forceDirection; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment