Click or drag to resize

Directory Structure

The kit directory hierarchy is structured as below:

Base folder

Path

Description

Assets/

See below.

Documentation/

Sandcastle source files for the documentation.

Mods/

Sample mods.

Tools/

Compile-time XLua tools.

Documentation.chm

Offline version of this documentation.

Assets folder

Path

Description

Demos

Demos for the kit.

Extra

Specialized systems.

      Cards

Scripts for creating playing-card games.

      Grids

A custom grid system with Square, Isometric and Hexagonal modes.

      Weapons

A (modular) weapon/projectile system.

Prefabs

      UI/General

Common UI elements that you can just drag-&-drop into your game.

Scripts/Kit

Kit-specific code.

      Behaviours

MonoBehaviours for all occasions.

      Containers

Collections and data containers.

            Stats

Stat system.

            Json

Json utilities.

      Helpers

Helper functions, algorithms and extension methods.

            Algorithms

Implementations of common algorithms.

            Extensions

Extension methods to ease development.

            Methods

Helper function library.

            Patterns

Design patterns.

      Managers

Global managers.

            ResourceManager

Resource loading, unloading, caching, reading, saving, and parsing.

            UIManager

UI and window management system.

            SceneDirector

Fade in/out screens or load scenes with it.

            AudioManager

Play & pool sounds and group them into AudioSources. Handle music.

            EffectsManager

Spawn/de-spawn and pool particle effects.

            SettingsManager

Save/load device-specific app-wide settings.

      Modding

The modding system.

            Loaders

Handlers for loading mods of different file-types.

            Managers

Core modding system classes.

            Parsers

Handlers for parsing different types of files from mods and ResourceManager.

            Scripting

Support for executing Lua scripts from mods.

            UI

Code for a pre-written Window to manage mods in-game.

      UI

            Behaviours

Common MonoBehaviours for UI elements.

            Buttons

General functionalities for buttons.

            General

Most frequent UI elements.

            Layout

Scripts for UI layouts.

            Message

A pre-made Window for showing general game messages.

            Widgets

More UI elements.

      Utilities

            Console

In-game Lua Console brought up with tilde (~).

            Pooler

GameObject pooling and grouping.

Scripts/Game

Your game code.

      Data

Classes for game data.

            DataManager

Manager for handling game state and data.

            GameData

POCO object to load game data into.

            GameState

POCO object to load game state into.

      UI

Game UI.

            Menu

Main menu code.

            Settings

Settings window code.

            Splash

Splash screen code.

Plugins

Third-party plugins.

csc.rsp

References to .NET assemblies.

See Also

Other Resources