mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
fix ExternalTypeUtil namespace
This commit is contained in:
@@ -2,27 +2,27 @@ using UnityEngine;
|
||||
|
||||
public static class ExternalTypeUtil
|
||||
{
|
||||
public static Vector2 NewVector2(cfg.vector2 v)
|
||||
public static Vector2 NewVector2(GameConfig.vector2 v)
|
||||
{
|
||||
return new Vector2(v.X, v.Y);
|
||||
}
|
||||
|
||||
public static Vector3 NewVector3(cfg.vector3 v)
|
||||
public static Vector3 NewVector3(GameConfig.vector3 v)
|
||||
{
|
||||
return new Vector3(v.X, v.Y, v.Z);
|
||||
}
|
||||
|
||||
public static Vector4 NewVector4(cfg.vector4 v)
|
||||
public static Vector4 NewVector4(GameConfig.vector4 v)
|
||||
{
|
||||
return new Vector4(v.X, v.Y, v.Z, v.W);
|
||||
}
|
||||
|
||||
public static Vector2Int NewVector2Int(cfg.vector2int v)
|
||||
public static Vector2Int NewVector2Int(GameConfig.vector2int v)
|
||||
{
|
||||
return new Vector2Int(v.X, v.Y);
|
||||
}
|
||||
|
||||
public static Vector3Int NewVector3Int(cfg.vector3int v)
|
||||
public static Vector3Int NewVector3Int(GameConfig.vector3int v)
|
||||
{
|
||||
return new Vector3Int(v.X, v.Y, v.Z);
|
||||
}
|
||||
|
Reference in New Issue
Block a user