From b357a6a6d914e46c2c782f215e9f566f92663850 Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 9 Apr 2021 20:37:24 +0800 Subject: *UI effect --- .../UnityEngine.UI/UI/Core/SpecializedCollections/IndexedSet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/SpecializedCollections') diff --git a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/SpecializedCollections/IndexedSet.cs b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/SpecializedCollections/IndexedSet.cs index a968577..0f37983 100644 --- a/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/SpecializedCollections/IndexedSet.cs +++ b/Assets/uGUI-2017.1/UnityEngine.UI/UI/Core/SpecializedCollections/IndexedSet.cs @@ -115,7 +115,7 @@ namespace UnityEngine.UI.Collections T item = m_List[index]; m_Dictionary.Remove(item); m_List[index] = value; - m_Dictionary.Add(item, index); + m_Dictionary.Add(item, index); // 这里有问题,应该是value } } -- cgit v1.1-26-g67d0