Com.stansassets.build
Unity build system automation & additional API
Install / Use
/learn @StansAssets/Com.stansassets.buildREADME
Build System
Build system package is a free open source product that contains Unity Build related API to help you with build configuration & automation as well as providing an ability to get build metadata at runtime.
Quick links to explore the library:
API Reference | Forum | Wiki
Install from NPM
- Navigate to the
Packagesdirectory of your project. - Adjust the project manifest file
manifest.jsonin a text editor. - Ensure
https://registry.npmjs.org/is part ofscopedRegistries.- Ensure
com.stansassetsis part ofscopes. - Add
com.stansassets.facebookto thedependencies, stating the latest version.
- Ensure
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 .
{
"scopedRegistries": [
{
"name": "npmjs",
"url": "https://registry.npmjs.org/",
"scopes": [
"com.stansassets"
]
}
],
"dependencies": {
"com.stansassets.build": "X.Y.Z",
...
}
}
- Switch back to the Unity software and wait for it to finish importing the added package.
Install from OpenUPM
- Install openupm-cli
npm install -g openupm-clioryarn global add openupm-cli - Enter your unity project folder
cd <YOUR_UNITY_PROJECT_FOLDER> - Install package
openupm add com.stansassets.facebook
