Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Is Serializeable Dictionary available now , something simple like Dictionary<enum, int>?

Discussion in '2021.2 Beta' started by jGate99, Jul 12, 2021.

  1. jGate99

    jGate99

    Joined:
    Oct 22, 2013
    Posts:
    1,943
    Hi there,

    Did we get support for a simple Dictionary serialization ?
    I want to serialize a Dictionary<enum, int> so i can see it in Editor Inspector

    Please advise
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,136
    Hi @jGate99,

    Support for the native serialization of Dictionaries is not available in 2021.2. There are no concrete plans to add this yet but it is on the backlog of the team.
     
    jGate99 likes this.