unity vector3 to array
Vector3 vector = new Vector3(0,1,0);
// Convert to float array
floats[] toFloat = new float[]{vector.x,vector.y,vector.z};
// Back to vector
vector = new Vector3 (toFloat[1], toFloat[2], toFloat[3]);
unity vector3 to array
Vector3 vector = new Vector3(0,1,0);
// Convert to float array
floats[] toFloat = new float[]{vector.x,vector.y,vector.z};
// Back to vector
vector = new Vector3 (toFloat[1], toFloat[2], toFloat[3]);
unity easy convert vector3 to vector2
Vector3 v3 = Vector3.one;
Vector2 v2 = v3;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us