Search Unity

UI Builder removing comments from .uss styles

Discussion in 'UI Toolkit' started by oltranzista, Apr 13, 2020.

  1. oltranzista

    oltranzista

    Joined:
    Jul 21, 2015
    Posts:
    5
    I typically hand code css but I've noticed when I use the UI Builder and save any changes made it'll remove comments I've added to the .uss file. Is this by design or will there be a later release that doesn't remove existing comments?
     
  2. JG-Denver

    JG-Denver

    Joined:
    Jan 4, 2013
    Posts:
    77
    I hope they eventually address this more properly. I like comments in the stylesheet for better organization!
     
  3. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    811