Last active
April 12, 2018 16:23
-
-
Save todorok1/836f81efeab576b56a57ab897ea17460 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
void FixedUpdate(){ | |
Debug.Log("transform x : " + gameObject.transform.position.x.ToString()); | |
Debug.Log("IsSleeping : " + rb.IsSleeping()); | |
if (!isBoostPressed){ | |
// キーまたはボタンが押されていなければ | |
// 処理の切り替えをせず抜ける | |
return; | |
} | |
// イカ省略 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment