Search Unity

Which of UnityEditor.UIElements and UnityEditor.Experimental.UIElements to use ?

Discussion in 'UIElements' started by aybe, Dec 2, 2018.

  1. aybe

    aybe

    Joined:
    May 24, 2015
    Posts:
    104
    I am trying the new UI features of 2019.1.0a10 and I've found that editor controls are in both namespaces.

    What are the differences between both and which namespace should be used ?

    Thanks !
     
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    295
    Absolutely ONLY use the non-Experimental UnityEditor.UIElements namespace in 2019.1 and going forward. The experimental namespaces will be removed soon. They both exist right now for totally internal reasons and it's not a state we want to ship with.
     
    recursive likes this.
  3. MartinIsla

    MartinIsla

    Joined:
    Sep 18, 2013
    Posts:
    64
    Didn't know this! Thank god I completely randomly entered this post. Already fixed it. Thanks!
     
  4. aybe

    aybe

    Joined:
    May 24, 2015
    Posts:
    104
    I was doing the exact opposite :) thanks for the info !