Foundation package is a collection of utility methods, design patterns, and extensions for Unity.
npm install com.stansassets.foundation




API Reference | Wiki | Unity Forum | Asset Store
#### Quick links to explore the library:
* Utilities. The collection of various utility methods.
* Editor Utilities.The collection of utility methods for the Unity Editor.
* Extensions. Extension methods for default C# and Unity Objects.
* Patterns. Implementation of well-known design patterns like Singleton, Factory, Pool, etc.
* Event Bus
* Singleton
* Objects Pool
* Service Locator
* UI Toolkit. Helper methods, extensions, utilities for the new Unity UI Toolkit framework.
Packages directory of your project.manifest.json in a text editor.https://registry.npmjs.org/ is part of scopedRegistries.com.stansassets is part of scopes.com.stansassets.foundation to the dependencies, stating the latest version.A minimal example ends up looking like this. Please note that the version X.Y.Z stated here is to be replaced with the latest released version which is currently .
``json`
{
"scopedRegistries": [
{
"name": "npmjs",
"url": "https://registry.npmjs.org/",
"scopes": [
"com.stansassets"
]
}
],
"dependencies": {
"com.stansassets.foundation": "X.Y.Z",
...
}
}
* Switch back to the Unity software and wait for it to finish importing the added package.
or yarn global add openupm-cli
* Enter your unity project folder cd
* Install package openupm add com.stansassets.foundation$3
Yoy can also install this package via Git URL. To load a package from a Git URL:* Open Unity Package Manager window.
* Click the add + button in the status bar.
* The options for adding packages appear.
* Select Add package from git URL from the add menu. A text box and an Add button appear.
* Enter the
https://github.com/StansAssets/com.stansassets.foundation.git Git URL in the text box and click Add.
* You may also install a specific package version by using the URL with the specified version.
* https://github.com/StansAssets/com.stansassets.foundation.git#X.Y.X
* Please note that the version X.Y.Z` stated here is to be replaced with the version you would like to get.For more information about what protocols Unity supports, see Git URLs.
Website | LinkedIn | Youtube | Github | AssetStore