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
7e0343f8d1
commit
dd1748efaa
@ -187,7 +187,7 @@ namespace DCFApixels.DragonECS
|
|||||||
public sealed override void SetRaw(object raw) { component = (T)raw; }
|
public sealed override void SetRaw(object raw) { component = (T)raw; }
|
||||||
protected virtual T CloneComponent(T component)
|
protected virtual T CloneComponent(T component)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if UNITY_EDITOR
|
||||||
switch (_defaultValueCloneMethod)
|
switch (_defaultValueCloneMethod)
|
||||||
{
|
{
|
||||||
case CloneMethod.Set:
|
case CloneMethod.Set:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user