Useless foldout in Dictionary
Issue #900
new
- What happened?
Always show the foldout in Dictionary, such as class and AnimationCurve, but it’s useless action. -
How can we reproduce it?
Use component below``` public class Test : SerializedMonoBehaviour { public Dictionary<string, Child> dict = new Dictionary<string, Child>();
[System.Serializable] public class Child { public string name; public AnimationCurve curve = new AnimationCurve { }; public int value; }
} ```
-
If screenshots would help explain or demonstrate your issue, please include these.
-
What version of Unity are you using?
2021.3.16f1 - What version of Odin are you using? (See "Tools > Odin Inspector > About")
3.1.9.0 - Do you have Editor Only mode enabled?
No (Odin serializer Enabled) - What operating system are you on?
Windows 10