Search Unity

Don't Erase XML Comments

Discussion in 'UI Toolkit' started by Surreal, Apr 2, 2021.

  1. Surreal

    Surreal

    Joined:
    Dec 10, 2011
    Posts:
    29
    Currently the builder erases XML comments within the UXML file -- very annoying when one is experimenting with interfaces
     
  2. MoruganKodi

    MoruganKodi

    Joined:
    Feb 11, 2015
    Posts:
    79
    If you going hand-written you have no choice but too stay within that realm, either full handwritten or full UIBuilder. UIBuilder rewrites the whole file and will also wipe out any custom formatting - or will even replace `path` with `src` in many cases.

    Unfortunatly one can only wish UIBuilder would function like Dreamweaver.