-
-
Notifications
You must be signed in to change notification settings - Fork 8
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.
- Create a zip file containing the contents of your custom Genesis Plugins.
- In Unity, create a
PluginInstallerConfig
by right-clicking in the Project window and selectJCMG => Genesis => PluginInstallerConfiguration
.
- 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
'sPluginZipPaths
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.
- Though displayed as relative file paths, these are stored internally as Unity Asset GUIDs so that regardless of where/how the zip and
- A custom
- 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.