1. Tenebrous
  2. UnityGlobalExtensionManager

Wiki

Clone wiki

UnityGlobalExtensionManager / Home

Installation

  1. Create a folder in your project in which to store enabled extensions, e.g. "~Extensions"

  2. Create a folder for this extension inside that folder, and copy this repo into it

  3. You should end up with a folder structure like this in your Project pane:

    ~Extensions
        UnityGlobalExtensionManager
            Editor
                GlobalExtensionLinkManager.cs
                GlobalExtensionManager.cs
                GlobalExtensionMonitor.cs
                GlobalExtensionSettings.cs
    

Usage

The global folder

This is the folder which holds all the Unity extensions available to UnityGlobalExtensionManager

  • Mac: /Users/(username)/.local/share/UnityGlobalExtensions
  • Win: C:\Users(username)\AppData\Local\UnityGlobalExtensions

Each extension needs to be in it's own folder with the global folder - the name of the folder is used as the name of the extension.

To turn available extensions on / off

  1. Go to Window / Global extensions
  2. Click on the 'On' or 'Off' buttons by the extension you wish to change

To make an extension available for use by other projects

  1. Ensure it is in it's own folder in ~Extensions
  2. Go to Window / Global extensions
  3. Click on the "Copy to global" button next to the name

From then on that extension can be turned off/on in any project which uses UnityGlobalExtensionManager on the same computer.

To update an extension

  1. Go to Window / Global extensions
  2. Click on the down-arrow to the right of the relevant extension
  3. Click "Update local copy"

The files from the global folder for that extension will be copied to the local project.

Developer mode

Note: by default, it is assumed that the 'global folder' contains the master copies, so by default you can update your local (project) copies from the global. You can't copy the other way unless you put that extension in "developer mode".

To mark an extension as being developed in this project

When an extension is in 'developer mode', then the local copy is considered the 'master'.

  1. Go to Window / Global extensions
  2. Click on the down-arrow to the right of the relevant extension
  3. Click Settings > Developer mode to enable

To update the global folder with updates to an extension being developed

  1. Go to Window / Global extensions
  2. Click on the down-arrow to the right of the relevant extension
  3. Click "Update global copy"

Updated