format
typescript
Vector4.toString()class: Vector4
description
Get the formatted string of the current vector.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
string | The formatted string of the current vector. |
code example
typescript
let v4 = new Vector4(-1, -2, -3, -4);
Debug.Log(v4.ToString()); // (-1, -2, -3, -4)