diff --git a/Unity/Demos/Assets/DragonBones/Scripts/unity/UnityArmatureComponent.cs b/Unity/Demos/Assets/DragonBones/Scripts/unity/UnityArmatureComponent.cs index 69f2ac0..924bbf1 100644 --- a/Unity/Demos/Assets/DragonBones/Scripts/unity/UnityArmatureComponent.cs +++ b/Unity/Demos/Assets/DragonBones/Scripts/unity/UnityArmatureComponent.cs @@ -147,8 +147,6 @@ public class UnityArmatureComponent : DragonBoneEventDispatcher, IArmatureProxy [SerializeField] protected bool _flipY = false; - private List _sortedSlots = null; - private bool _hasSortingGroup = false; /// public void DBClear() @@ -182,7 +180,6 @@ public void DBClear() _zSpace = 0.0f; _flipX = false; _flipY = false; - _sortedSlots = null; _hasSortingGroup = false; } @@ -620,7 +617,6 @@ void OnDestroy() } unityBones = null; - _sortedSlots = null; _disposeProxy = true; _armature = null; }