Table of Contents


Logo

Grid System [Definitive Infinity Media]

A grid-based data and visualisation system for Unity with runtime grid objects, custom editors, and save support.
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 grid-based data and visualisation system for Unity with runtime grid objects, custom editors, and save support.

  • Grid — generic grid data structure with position-based lookup
  • Grid Objects — typed objects that live on grid cells
  • Editor Tools — grid builder with custom inspector workflow
  • Save/Load — serialize grid state to strings or your own save system

(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://gitlab.com/definitive-infinity-media/unity-packages/com.definitiveinfinitymedia.gridsystem.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.gridsystem": "1.2.5"
    

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://gitlab.com/definitive-infinity-media/unity-packages/com.definitiveinfinitymedia.gridsystem.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 open an issue or submit a merge request.

(back to top)

Contact

Definitive Infinity Media - contact@definitiveinfinitymedia.com

Project Link: https://gitlab.com/definitive-infinity-media/unity-packages/com.definitiveinfinitymedia.gridsystem

(back to top)

Acknowledgments

(back to top)