Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created Nov 21, 2020
Embed
What would you like to do?
Vector3型で向きと大きさを取得
// 向きを取得します。
Vector3 normalVector = myVector.normalized;
// 大きさを取得します。
float mag = myVector.magnitude;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment