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