simple fixes

This commit is contained in:
Mikhail 2023-12-06 20:35:07 +08:00
parent 91a750394e
commit f25036ae6e
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ namespace DCFApixels.DragonECS
{ {
if (_isInit == true) if (_isInit == true)
{ {
EcsDebug.Print("[Warning]", $"This {nameof(EcsPipeline)} has already been initialized"); EcsDebug.PrintWarning($"This {nameof(EcsPipeline)} has already been initialized");
return; return;
} }

View File

@ -273,7 +273,7 @@ namespace DCFApixels.DragonECS
//public void CloneEntity(int fromEntityID, EcsWorld toWorld, int toEntityID) //public void CloneEntity(int fromEntityID, EcsWorld toWorld, int toEntityID)
#endregion #endregion
#region Components Register #region RegisterEntityComponent/UnregisterEntityComponent
[MethodImpl(MethodImplOptions.AggressiveInlining)] [MethodImpl(MethodImplOptions.AggressiveInlining)]
private void RegisterEntityComponent(int entityID, int componentTypeID, EcsMaskBit maskBit) private void RegisterEntityComponent(int entityID, int componentTypeID, EcsMaskBit maskBit)
{ {