Character System

This system makes it easy to create a character selection and creation screens. It provides functionality to save and load characters from PlayerPrefs or MySql using php scripts.

The CharacterContainer class implements the OnSelectionChange method, that can be overriden in subclasses. This message is called when the user selects a slot.

CreateCharacterContainer and SelectCharacterContainer extend from CharacterContainer and have reference to UI fields. Furthermore they handle the click events and trigger methods from CharacterSystem(CreateCharacter, LoadCharacters or DeleteCharacter).

Open the main editor inside Unity: Tools > Unitycoding > Character System > Editor.
A window will be shown where you can select or create a database.

Once you create and open the database asset you can edit it.