# 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
    1. /Code folder
      • *.cs files
    2. /Assemblies folder
      • *.dll files which you want to be included and accessible in your mod
    3. /EmbededResources folder
      • Any files that you want to use as embeded resources in your mod
    4. /GameResources folder
      • Any files that you want to use as unity resources (files will be accessable from Resources.Load() and Resources.LoadAll() methods). If some resouce already exists in game by the same path, this resource will not be added, please, use /GameResourcesReplace folder instead.
    5. /GameResourcesReplace folder
      • Any files that you want to use as unity resources (files will be accessable from Resources.Load() and Resources.LoadAll() methods). If some resouce already exists in game by the same path, this resource will be replaced.
    6. icon.png mod's icon
    7. mod.json definition of the mod
    8. Any other files and folders that you want to use in your mod