fix component template initialization

This commit is contained in:
DCFApixels 2025-04-18 22:11:55 +08:00
parent 7c6fdcfb6f
commit ba4e103337

View File

@ -87,6 +87,7 @@ namespace DCFApixels.DragonECS
_defaultValueType = (T)field.GetValue(null); _defaultValueType = (T)field.GetValue(null);
} }
} }
_defaultValueTypeInit = true;
} }
return _defaultValueType; return _defaultValueType;
} }