From bc82685ec7903169314b9d17f033e0428ed00757 Mon Sep 17 00:00:00 2001 From: tpxxn <351765204@qq.com> Date: Fri, 9 May 2025 13:51:47 +0800 Subject: [PATCH] fix ExternalTypeUtil namespace --- Configs/GameConfig/CustomTemplate/ExternalTypeUtil.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Configs/GameConfig/CustomTemplate/ExternalTypeUtil.cs b/Configs/GameConfig/CustomTemplate/ExternalTypeUtil.cs index f91d9e8a..ef1f56f8 100644 --- a/Configs/GameConfig/CustomTemplate/ExternalTypeUtil.cs +++ b/Configs/GameConfig/CustomTemplate/ExternalTypeUtil.cs @@ -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); }