From d1a874e62e3cc4f03fbf60baf46094605ae647a5 Mon Sep 17 00:00:00 2001 From: DCFApixels <99481254+DCFApixels@users.noreply.github.com> Date: Wed, 19 Mar 2025 16:51:08 +0800 Subject: [PATCH] remove MetaID.IsFixedNameType --- .../MetaAttributes/MetaIDAttribute.cs | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/DebugUtils/MetaAttributes/MetaIDAttribute.cs b/src/DebugUtils/MetaAttributes/MetaIDAttribute.cs index be810e0..8e57fff 100644 --- a/src/DebugUtils/MetaAttributes/MetaIDAttribute.cs +++ b/src/DebugUtils/MetaAttributes/MetaIDAttribute.cs @@ -37,18 +37,18 @@ namespace DCFApixels.DragonECS { public const string ALLOWED_CHARSET = "_0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; - public static bool IsFixedNameType(Type type) - { - if (type.IsPrimitive) - { - return true; - } - if(type == typeof(string)) - { - return true; - } - return false; - } + //public static bool IsFixedNameType(Type type) + //{ + // if (type.IsPrimitive) + // { + // return true; + // } + // if(type == typeof(string)) + // { + // return true; + // } + // return false; + //} public static bool IsGenericID(string id) { return Regex.IsMatch(id, @"^[^,<>\s]*$");