From 297f927eeff05e69365c5d636551d51675574dee Mon Sep 17 00:00:00 2001 From: xuliang Date: Tue, 5 Dec 2017 10:41:27 +0800 Subject: [PATCH] remove sortBones --- .../DragonBones/Scripts/unity/UnityArmatureComponent.cs | 4 ---- 1 file changed, 4 deletions(-) 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; }