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
About The Project
A common utility library for Definitive Infinity Media Unity packages with extensions, helpers, and base classes
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)
Open the Package Manager window in Unity (Window > Package Manager).
Click the [+] button in the top-left corner and select Add package from git URL.
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
Open Edit > Project Settings > Package Manager.
Add a scoped registry with the following details:
- Name: Definitive Infinity Media
- URL: https://npm.pkg.github.com/@Definitive-Infinity-Media
- Scope(s): com.definitiveinfinitymedia
Create a
.upmconfig.tomlfile in your user root directory:- Windows:
%USERPROFILE%\.upmconfig.toml - macOS/Linux:
~/.upmconfig.toml
- Windows:
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 = trueAdd 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
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.
Dependencies
This package has no external dependencies.
| Package | Version |
|---|---|
| None | - |
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".
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Contact
Definitive Infinity Media - contact@definitiveinfinitymedia.com
Project Link: https://github.com/Definitive-Infinity-Media/com.definitiveinfinitymedia.common