Skip to content

Sharing Plugins

Jeff Campbell edited this page Jun 14, 2021 · 1 revision

When creating custom plugins, you may want to share these with other users and enable them to be installed in their own projects. This can be done easily by creating a PluginInstallerConfig and including in your Unity package. This enables other users to see your plugins in their Genesis Project Settings in Unity.

  1. Create a zip file containing the contents of your custom Genesis Plugins.
  2. In Unity, create a PluginInstallerConfig by right-clicking in the Project window and select JCMG => Genesis => PluginInstallerConfiguration.

  1. Configure the PluginInstallerConfig:
    • A custom Display Name can be set that users would see in their Genesis Project Settings.
    • The zip file containing your plugins should be added to the PluginInstallerConfig's PluginZipPaths field.
      • Though displayed as relative file paths, these are stored internally as Unity Asset GUIDs so that regardless of where/how the zip and PluginInstallerConfig are shared with other Unity projects the installation process can find these zip files.
  2. Once done configuring the PluginInstallerConfig, make sure to save your project. At this point these assets can be exported or referenced in other Unity projects.

Ideally this should be doable through the newer Unity package system as well.

Clone this wiki locally