Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. 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,978
    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,138
    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.