mirror of
https://github.com/DCFApixels/DragonECS.git
synced 2025-09-18 18:14:37 +08:00
fix
This commit is contained in:
parent
6ebda350a3
commit
266da2d85d
@ -12,7 +12,8 @@ namespace DCFApixels.DragonECS.Internal
|
||||
public static void CheckFakeInstanceValide<T>(T fakeInstnace)
|
||||
{
|
||||
#if DEBUG
|
||||
if (fakeInstnace.Equals(default) == false)
|
||||
T nil = default;
|
||||
if (fakeInstnace.Equals(nil) == false)
|
||||
{
|
||||
throw new Exception("Не правильное применение интерфейса, менять нужно передаваемое по ref значение");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user