Skip to content

Instantly share code, notes, and snippets.

@WildRikku
Created December 14, 2022 15:33
Show Gist options
  • Save WildRikku/6e3b3f51302d07157db9c077f82042bb to your computer and use it in GitHub Desktop.
Save WildRikku/6e3b3f51302d07157db9c077f82042bb to your computer and use it in GitHub Desktop.
Unity Odin inspector gitignore - for when you use ODIN but your team does not, so they need the attributes library but most not receive the rest of the files
# Odin
Assets/Plugins/Sirenix/*
!Assets/Plugins/Sirenix/Assemblies
!Assets/Plugins/Sirenix/Assemblies.meta
Assets/Plugins/Sirenix/Assemblies/*
!Assets/Plugins/Sirenix/Assemblies/Sirenix.OdinInspector.Attributes*
@WildRikku
Copy link
Author

I used gitignore in case someone else in my team decides to install Odin but of course you can put this in .git/info/exclude. Make sure to use the correct paths then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment