补充插槽可见性属性值拷贝
This commit is contained in:
@@ -172,9 +172,12 @@ namespace Spine
|
|||||||
_skinLoadStatus = other._skinLoadStatus.ToDictionary();
|
_skinLoadStatus = other._skinLoadStatus.ToDictionary();
|
||||||
ReloadSkins();
|
ReloadSkins();
|
||||||
|
|
||||||
// 拷贝自定义插槽附件加载情况
|
// 拷贝插槽属性值
|
||||||
for (int i = 0; i < other._skeleton.Slots.Length; i++)
|
for (int i = 0; i < other._skeleton.Slots.Length; i++)
|
||||||
|
{
|
||||||
_skeleton.Slots[i].Attachment = other._skeleton.Slots[i].Attachment;
|
_skeleton.Slots[i].Attachment = other._skeleton.Slots[i].Attachment;
|
||||||
|
_skeleton.Slots[i].Disabled = other._skeleton.Slots[i].Disabled;
|
||||||
|
}
|
||||||
|
|
||||||
// 拷贝调试属性
|
// 拷贝调试属性
|
||||||
EnableDebug = other.EnableDebug;
|
EnableDebug = other.EnableDebug;
|
||||||
|
|||||||
Reference in New Issue
Block a user