Skip to content

Adding new plugin

Team edited this page Oct 19, 2020 · 5 revisions

For all plugins:

  • Move it to Plugins folder and make sure that it works correctly
  • Create Assembly definition for all Editor folders
    • Mark that assembly definition as editor only
      • Create Assembly definition for root folder, if project don't compile. (Usually it don't)
      • Add Root assembly as reference to Editor assembly
      • If it still not compile, add as references all other needed assemblies. (Can be figured out from using statements)

If plugin have custom editor window or any other [MenuItem].

  • Move it to Plugins/Editor folder and make sure that it works correctly
  • Consider change MenuItem path to
    • Windows/Custom - for any useful windows
    • Windows/Info - for any windows that only display some data
    • Windows/Profiling - for anything that using for profiling
    • Or add your own Windows/* and update this page