Some attributes and analyzers I need when working with Unity
Add this to your base method to force all the overriding method to call base()
Serverity: Warning
There're two parts to the repo you need to deal with:
- Once built would become the dll containing the definition of all the util attributes.
- Put this dll in Assets/Plugins and include it in "Any platform"
- Once built would contain the analyzer script to enforce the analyzer rules.
- This dll must be in an Editor folder
- Untick "Validate Reference" and "Any Platform"
- Add the "RoslynAnalyzer" tag to the dll
(Go to relase page for prebuilt dlls)