Search Unity

[Free] Stan's Assets Foundation Library.

Discussion in 'Assets and Asset Store' started by stanislav-osipov, Sep 24, 2020.

  1. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Hey folks, I'd like to share with the community the library we are using to speed up our unity related development. If you have comments/suggestions/bug reports, please do not hesitate to share.


    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 | Github | Asset Store

    Quick links to explore the library:
    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.
    Code (CSharp):
    1. {
    2.   "scopedRegistries": [
    3.    {
    4.      "name": "npmjs",
    5.      "url": "https://registry.npmjs.org/",
    6.      "scopes": [
    7.        "com.stansassets"
    8.      ]
    9.    }
    10.   ],
    11.   "dependencies": {
    12.    "com.stansassets.foundation": "X.Y.Z",
    13.    ...
    14.   }
    15. }
    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
    You can also install this package via the Git URL. To load a package from a Git URL:

    For more information about what protocols Unity supports, see Git URLs.
     
    Last edited: Oct 24, 2020
    samlletas and GilbertoBitt like this.