Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it safe to gitignore the `UIElementsSchema` folder?

The UIElementsSchema folder is generated when using Unity's UI Toolkit system.

like image 534
kvu787 Avatar asked Dec 22 '25 22:12

kvu787


1 Answers

From the forums ("official" Unity Staff answer)

This is to help some IDEs auto-complete for you when you write UXML files. Both Rider and Visual Studio should support this. But it’s 100% optional. The reason it’s “auto” generated is because it contains not just our built-in types but also your custom element types. If you find the auto-complete feature useful, keep in version control, otherwise, it’s safe to gitignore.

=> Completely optional and up to you. But it sounds like usually it makes sense to keep it. Also sounds like it will be auto-generated anyway though so it should be just as fine to ignore it.

like image 177
derHugo Avatar answered Dec 24 '25 13:12

derHugo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!