Com.stansassets.foundation
Collection of utility methods, design patterns, and extensions for Unity.
Install / Use
/learn @StansAssets/Com.stansassets.foundationREADME
Foundation Library
Foundation Library is a free open source product that contains lots of useful APIs, Utilities and Extension methods. We do not provide any articles or tutorials for these plugins. But we do try to keep every public API documented and self-explanatory.
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.
- UI Toolkit. Helper methods, extensions, utilities for the new Unity UI Toolkit framework.
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.foundationto 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.foundation": "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.foundation
Install from a Git URL
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.gitGit 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.Zstated here is to be replaced with the version you would like to get. - You can find all the available releases here.
- The latest available release version is
For more information about what protocols Unity supports, see Git URLs.
About Us
We are committed to developing high quality and engaging entertainment software. Our mission has been to bring a reliable and high-quality Unity Development service to companies and individuals around the globe. At Stan's Assets, we make Plugins, SDKs, Games, VR & AR Applications. Do not hesitate do get in touch, whether you have a question, want to build something, or just to say hi :) Let's Talk!
Website | LinkedIn | Youtube | Github | AssetStore
Related Skills
clearshot
Structured screenshot analysis for UI implementation and critique. Analyzes every UI screenshot with a 5×5 spatial grid, full element inventory, and design system extraction — facts and taste together, every time. Escalates to full implementation blueprint when building. Trigger on any digital interface image file (png, jpg, gif, webp — websites, apps, dashboards, mockups, wireframes) or commands like 'analyse this screenshot,' 'rebuild this,' 'match this design,' 'clone this.' Skip for non-UI images (photos, memes, charts) unless the user explicitly wants to build a UI from them. Does NOT trigger on HTML source code, CSS, SVGs, or any code pasted as text.
ui-ux-pro-max-skill
57.9kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
ui-ux-pro-max-skill
57.9kAn AI SKILL that provide design intelligence for building professional UI/UX multiple platforms
onlook
25.0kThe Cursor for Designers • An Open-Source AI-First Design tool • Visually build, style, and edit your React App with AI
