Table of Contents

Contributors Forks Stargazers Issues


Logo

Common [Definitive Infinity Media]

A common utility library for Definitive Infinity Media Unity packages with extensions, helpers, and base classes
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Dependencies
  5. Samples
  6. Contributing
  7. Contact
  8. Acknowledgments

About The Project

A common utility library for Definitive Infinity Media Unity packages with extensions, helpers, and base classes

(back to top)

Getting Started

Follow one of the installation methods below to add this package to your Unity project.

Prerequisites

Unity 2021.1 or later is required to use this package.

Installation

Method 1: Package Manager (Git URL)

  1. Open the Package Manager window in Unity (Window > Package Manager).

  2. Click the [+] button in the top-left corner and select Add package from git URL.

  3. Enter the following URL and click Add:

    https://github.com/Definitive-Infinity-Media/com.definitiveinfinitymedia.common.git
    

For more details on Git URLs in Unity, see the Unity documentation.

Method 2: Scoped Registry

  1. Open Edit > Project Settings > Package Manager.

  2. Add a scoped registry with the following details:

  3. Create a .upmconfig.toml file in your user root directory:

    • Windows: %USERPROFILE%\.upmconfig.toml
    • macOS/Linux: ~/.upmconfig.toml
  4. Add your GitHub personal access token:

    [npmAuth."https://npm.pkg.github.com/@Definitive-Infinity-Media"]
    token = "YOUR_GITHUB_PAT"
    email = "your-email@example.com"
    alwaysAuth = true
    
  5. Add the package to your Packages/manifest.json:

    "com.definitiveinfinitymedia.common": "0.5.6"
    

Learn more: Creating private packages for your Unity project.

Method 3: Direct Clone (for development)

Clone this repository directly into your project's Packages folder:

git clone https://github.com/Definitive-Infinity-Media/com.definitiveinfinitymedia.common.git

(back to top)

Usage

Use the components, tools, and samples provided by this package in your Unity project. For API documentation and examples, please refer to the Documentation.

(back to top)

Dependencies

This package has no external dependencies.

Package Version
None -

(back to top)

Samples

  • Example Scene — Contains an example scene for the package (Samples/Example Scene)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this package better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Definitive Infinity Media - contact@definitiveinfinitymedia.com

Project Link: https://github.com/Definitive-Infinity-Media/com.definitiveinfinitymedia.common

(back to top)

Acknowledgments

(back to top)