Campaign and progression¶
The campaign is a linear list of chapters, each with ordered levels, in Resources/CampaignData.asset (Create > AiasTech > Campaign > Campaign Data). Chapter and level Keys are localization keys in the Levels table; LevelData.SceneName is the exact, case-sensitive scene name.
Add a level¶
- Create the level and add the scene in File > Build Profiles.
- In
CampaignData, add aLevelDataat the end of the chapter withKeyandSceneName. - Add the key to the
Levelstable in both languages (Localization). - Test that Next from the previous level reaches it, plus Continue and the chapter selector.
Don't reorder published levels
Saves store chapter and level indices. Appending is safe; inserting, removing or reordering breaks players' saves. During development, delete the save (Save, settings and difficulty).
To add a chapter, append a ChapterData with a translated Key and its levels. Finishing a chapter continues to the next one.
How progress works¶
- Continue resumes the unlock frontier (
MaxChapterReached/MaxLevelReached), not a chapter-select replay of an earlier level. -
The chapter selector unlocks up to that same frontier and always starts the chosen level from spawn (fresh attempt); medals still show the best clear.
-
New Game erases progress and inventory but keeps the portrait.
- Next always goes to the level after the current one, and is hidden on the last level.
Rules¶
Chapters[0].Levels[0]must exist, and each scene may appear only once.- Load scenes with
LoadingScreen.Load(name), notSceneManager.LoadScene. The back-to-menu button loadsMainScene(LoadingScreen.MainMenuSceneName). - Branching progression, multiple save slots and level dependencies are not supported.