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