Class VectorConvert
Inheritance
System.Object
VectorConvert
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MacacaGames.ViewSystem
Assembly: Macaca.ViewSystem.dll
Syntax
public class VectorConvert
Methods
| Improve this Doc View SourceStringToVector2(String)
Declaration
public static Vector2 StringToVector2(string sVector)
Parameters
Type | Name | Description |
---|---|---|
System.String | sVector |
Returns
Type | Description |
---|---|
UnityEngine.Vector2 |
StringToVector3(String)
Declaration
public static Vector3 StringToVector3(string sVector)
Parameters
Type | Name | Description |
---|---|---|
System.String | sVector |
Returns
Type | Description |
---|---|
UnityEngine.Vector3 |
Vector2ToString(Vector2)
Declaration
public static string Vector2ToString(Vector2 vector)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector2 | vector |
Returns
Type | Description |
---|---|
System.String |
Vector3ToString(Vector3)
Declaration
public static string Vector3ToString(Vector3 vector)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | vector |
Returns
Type | Description |
---|---|
System.String |