Skip to content

Danand/StaticEvil

Repository files navigation

StaticEvil

MIT license

If you heard about need to clean up statics – you know for what it is.

How to install

From remote repository

Add in Packages/manifest.json to dependencies:

"com.danand.staticevil": "https://github.com/Danand/StaticEvil.git#0.1.0-package-unity",

From local path

From local repository
"com.danand.staticevil": "file:///D/repos/StaticEvil/.git#0.1.0-package-unity",
From local working copy
"com.danand.staticevil": "file:D:/repos/StaticEvil/Assets",
What is the difference?

Local repository is resolved just like normal Git repository with optionally specified revision.
Local working copy is being copied "as is" into dependent project, without running any Git process.

Don't forget to reference StaticEvil via Assemly Definitions.

How to use

private static Evil<ShopManager> shopManager;