mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-17 17:34:36 +08:00
fix
This commit is contained in:
parent
c9ebdc6f66
commit
14be3cf78b
@ -159,7 +159,6 @@ namespace DCFApixels.DragonECS
|
||||
#endregion
|
||||
|
||||
#region GetColor
|
||||
|
||||
public static MetaColor GetColor(object obj)
|
||||
{
|
||||
return obj is IEcsMetaProvider intr ?
|
||||
@ -413,7 +412,7 @@ namespace DCFApixels.DragonECS
|
||||
if (_initFlags.HasFlag(InitFlag.Color) == false)
|
||||
{
|
||||
_color = EcsDebugUtility.GetColor(_type);
|
||||
//_initFlags |= InitFlag.Color;
|
||||
_initFlags |= InitFlag.Color;
|
||||
}
|
||||
return _color;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user