Skip to content

Instantly share code, notes, and snippets.

@todorok1
Last active April 13, 2018 06:02
Show Gist options
  • Save todorok1/8e4b5ae1d12f0e62cfa0dff79424aae1 to your computer and use it in GitHub Desktop.
Save todorok1/8e4b5ae1d12f0e62cfa0dff79424aae1 to your computer and use it in GitHub Desktop.
Unityチュートリアル・ボールの飛距離を計算するスクリプト。
// 距離測定中フラグ
bool isCheckingDistance = false;
// Sphereオブジェクトの停止位置格納用ベクトル
Vector3 stopPosition = Vector3.zero;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment