#
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
/Codefolder*.csfiles
/Assembliesfolder*.dllfiles which you want to be included and accessible in your mod
/EmbededResourcesfolder- Any files that you want to use as embeded resources in your mod
/GameResourcesfolder- 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/GameResourcesReplacefolder instead.
- Any files that you want to use as unity resources (files will be accessable from
/GameResourcesReplacefolder- 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.pngmod's iconmod.jsondefinition of the mod- Any other files and folders that you want to use in your mod