Skip to content

SerializedDictionary: The key is hidden in the title of the list of value #26

@LanKuDot

Description

@LanKuDot

Thanks for the awesome project! But I got some problems while using the dictionary with a list of value.

  • Unity version: 2020.3.12f1
  • Sample Code:
public class Foo : MonoBehaviour
{
    [Serializable]
    public class StringListStorage : SerializableDictionary.Storage<List<string>> {}
    [Serializable]
    public class IntStringDictionary :
        SerializableDictionary<int, List<string>, StringListStorage> {}

    [SerializeField]
    private IntStringDictionary _dictionary;
}
  • Screenshot:
    screenshot1
    The value of the key is shown when the mouse hovers on the title:
    screenshot2
    And the list of values cannot be folded/unfloded by clicking the arrow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions