Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Default button class is automatically re-added

Discussion in 'UI Toolkit' started by CoryMaklin, Oct 9, 2021.

  1. CoryMaklin

    CoryMaklin

    Joined:
    Oct 10, 2020
    Posts:
    29
    By default, there's no x for the default button class list. If you click "Add Style Class to List", it will enable you to remove the styles. However, the class will automatically be re-added arbitrarily.
     
  2. JuliaP_Unity

    JuliaP_Unity

    Unity Technologies

    Joined:
    Mar 26, 2020
    Posts:
    696
    Can you clarify what version of Unity you're using and if you're using the UI Builder from package or not?
    What you're describing is sounding confusing to me, as default classes should not be able to be removed in the first place.