mirror of
https://github.com/DCFApixels/DragonECS-AutoInjections.git
synced 2025-09-18 13:24:35 +08:00
refactoring
This commit is contained in:
parent
77027c64db
commit
977d387d57
@ -106,6 +106,7 @@ namespace DCFApixels.DragonECS
|
|||||||
|
|
||||||
private void WarningMissedInjections()
|
private void WarningMissedInjections()
|
||||||
{
|
{
|
||||||
|
#if DEBUG
|
||||||
foreach (var item in _notInjected)
|
foreach (var item in _notInjected)
|
||||||
{
|
{
|
||||||
foreach (var systemRecord in _systems[item])
|
foreach (var systemRecord in _systems[item])
|
||||||
@ -113,6 +114,7 @@ namespace DCFApixels.DragonECS
|
|||||||
EcsDebug.PrintWarning($"in system {EcsDebugUtility.GetGenericTypeFullName(systemRecord.target.GetType(), 1)} is missing an injection of {EcsDebugUtility.GetGenericTypeFullName(item, 1)}.");
|
EcsDebug.PrintWarning($"in system {EcsDebugUtility.GetGenericTypeFullName(systemRecord.target.GetType(), 1)} is missing an injection of {EcsDebugUtility.GetGenericTypeFullName(item, 1)}.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private readonly struct FiledRecord
|
private readonly struct FiledRecord
|
||||||
|
Loading…
Reference in New Issue
Block a user