mirror of
https://github.com/DCFApixels/DragonECS-AutoInjections.git
synced 2025-09-18 05:04:35 +08:00
Merge branch 'dev'
This commit is contained in:
commit
e748aa7080
@ -59,7 +59,7 @@ namespace DCFApixels.DragonECS
|
||||
}
|
||||
public void Inject(Type fieldType, object obj)
|
||||
{
|
||||
_notInjected.Remove(obj.GetType());
|
||||
_notInjected.Remove(fieldType);
|
||||
Type baseType = fieldType.BaseType;
|
||||
if (baseType != null)
|
||||
Inject(baseType, obj);
|
||||
|
Loading…
Reference in New Issue
Block a user