Adding a New Playable Character
1. Locate Character Prefab
Navigate to:
Assets/RGame/RoguelikeKit/Prefabs/Player/Fighter.prefabBest Practice: Duplicate the prefab before modification (Right-click → Duplicate)

2. Configure Character Properties
Select the duplicated prefab
In the Inspector window:
Locate the
Playerscript componentModify
BeginSkillKey(default skill assigned on spawn) Information

3.Custom Animation
You can change the Animator. The following components must be present.

and the "Hit" GameObject

The rest of the GameObject are cosmetic, so you can just delete them if you don't need them.
You must include two animations in the Custom Animator, Idle and Run.

4. Adding a New Playable Character to the UI Panel
Creating a New Character Config
Option A: Duplicate an Existing Character
Navigate to:
Assets/RGame/RoguelikeKit/ScriptableObjects/DataSO/Level/SelectCharacter/
Right-click an existing
CharacterSelectConfigand select DuplicateRename the new file (e.g.,
Warrior_Config.asset)
Option B: Create a New Config from Scratch
Right-click in the folder → Create → RGame → RoguelikeKit → UI → CharacterSelectConfig
Name it appropriately (e.g.,
Mage_Config.asset)
Adding the Character to the Selection UI
Open the prefab:
Assets/RGame/RoguelikeKit/Prefabs/UI/MainMenu/CharacterSelect_Panel.prefabLocate the
MCharacterSosarray (likely in aCharacterSelectionManagerscript)Increase the array size and drag your new
CharacterSelectConfiginto an empty slot
5.Testing
Open Assets/RGame/RoguelikeKit/Scenes/Initialization.unity
Enter Play Mode
Last updated