#
Mod Structure
These are the definitions of what the structure of the mod looks like.
Mod's files can be in folder or in zip archive. Structures inside folder or archive are the same.
#
Structure
- Mod's root folder/archive
/Code
folder*.cs
files
/Assemblies
folder*.dll
files which you want to be included and accessible in your mod
/EmbededResources
folder- Any files that you want to use as embeded resources in your mod
/GameResources
folder- Any files that you want to use as unity resources (files will be accessable from
Resources.Load()
andResources.LoadAll()
methods). If some resouce already exists in game by the same path, this resource will not be added, please, use/GameResourcesReplace
folder instead.
- Any files that you want to use as unity resources (files will be accessable from
/GameResourcesReplace
folder- Any files that you want to use as unity resources (files will be accessable from
Resources.Load()
andResources.LoadAll()
methods). If some resouce already exists in game by the same path, this resource will be replaced.
- Any files that you want to use as unity resources (files will be accessable from
icon.png
mod's iconmod.json
definition of the mod- Any other files and folders that you want to use in your mod