Back to directory
StansAssets avatar

com.stansassets.foundation

Collection of utility methods, design patterns, and extensions for Unity.. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/StansAssets/com.stansassets.foundation.git

132

Stars

12

Forks

13

Watchers

MIT

License

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.

NPM Package openupm Licence Issues Codacy Badge

API Reference | Wiki | Unity Forum | Asset Store

Install from NPM

  • Navigate to the Packages directory of your project.
  • Adjust the project manifest file manifest.json in a text editor.
  • Ensure https://registry.npmjs.org/ is part of scopedRegistries.
    • Ensure com.stansassets is part of scopes.
    • Add 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 NPM Package.

{
  "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-cli or yarn 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.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.
    • You can find all the available releases here.
    • The latest available release version is Last Release

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

Releases

Jul 17, 2024

Download .zip

Changes

chore: MonoSingleton -> Instantiate method is back to public to prevent backward compatibility ptoblems. chore: GlobalCoroutine.IsDestroyed check added for the Coroutine utility

Fixes

fix:...

Apr 12, 2023

Download .zip

Changes

chore: reflection utility refactoring. proper exception throws added (#110) @alexey-yaremenko chore: enum utility refactor (#109) @roman-effrimov chore: Transform extension optimization. (#10...

Dec 16, 2022

Download .zip

Changes New

feat: Audio Center api (#96) @stan-osipov feat: Support pooling of YieldInstruction for Coroutines #92 (#94) @AlexWargon

Fixes

fix: YieldPool Unity 2019 compilation fixed. (#95) @stan-o...