A unity package providing some basic unity helper scripts.
See the tests in the Editor/
folder for each class for usage examples.
From your unity project folder:
npm init
npm install shadowmint/unity-n-core --save
echo Assets/packages >> .gitignore
echo Assets/packages.meta >> .gitignore
The package and all its dependencies will be installed in your Assets/packages folder.
Setup and run tests:
npm install
cd test
npm install
gulp
All tests are wrapped in #if ...
blocks to prevent test spam.
You can enable tests in: Player settings > Other Settings > Scripting Define Symbols
The test key for this package is: N_CORE_TESTS