Search Unity

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

Discussion in 'UI Toolkit' started by aybeone, Dec 2, 2018.

  1. aybeone

    aybeone

    Joined:
    May 24, 2015
    Posts:
    107
    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:
    1,231
    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:
    104
    Didn't know this! Thank god I completely randomly entered this post. Already fixed it. Thanks!
     
  4. aybeone

    aybeone

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