mirror of
https://github.com/DCFApixels/DragonECS-Unity.git
synced 2026-04-21 20:15:56 +08:00
fix
This commit is contained in:
parent
771b4b8cdb
commit
d281b50d74
@ -178,8 +178,10 @@ namespace DCFApixels.DragonECS
|
||||
{
|
||||
case CloneMethod.Set:
|
||||
return component;
|
||||
#if DEBUG
|
||||
case CloneMethod.Clone_Reflection:
|
||||
return (T)component.Clone_Reflection();
|
||||
#endif
|
||||
case CloneMethod.ICloneable:
|
||||
return (T)_defaultValueCloneable.Clone();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user