Class DetailedVectorString
This class contains extension methods to print full precision vectors.
Unity's ToString()
will format vector components to 2 decimal places.
These methods format the vector components to their maximum available precision, which is useful when debugging.
Inheritance
System.Object
DetailedVectorString
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile
Syntax
public static class DetailedVectorString
Methods
ToDetailedString(Vector2)
Return a full precision string representation of vector
Declaration
public static string ToDetailedString(this Vector2 vector)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | vector |
Returns
Type | Description |
---|---|
System.String |
ToDetailedString(Vector3)
Return a full precision string representation of vector
Declaration
public static string ToDetailedString(this Vector3 vector)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | vector |
Returns
Type | Description |
---|---|
System.String |