Skip to content

Instantly share code, notes, and snippets.

Created Nov 21, 2020
What would you like to do?
// 距離を取得します。
Vector3 playerVector = new Vector3(1.0f, 2.0f, 3.0f);
Vector3 enemyVector = new Vector3(4.0f, 5.0f, 6.0f);
float distance = Vector3.Distance(playerVector, enemyVector);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment