44 lines
1020 B
C#
44 lines
1020 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "ProgressionDef", menuName = "GameSqueleton/New Progression Def")]
|
|
public class ProgressionDef : ScriptableObject
|
|
{
|
|
public bool replaySameLevelsAfterGameOver = true;
|
|
public bool removePreviousSectionsForNextGame;
|
|
|
|
[Space]
|
|
public bool useTurn;
|
|
|
|
public int turnEachSection = 1;
|
|
public Section GroundLeft;
|
|
|
|
public Section GroundRight;
|
|
|
|
public Section SafeZone;
|
|
|
|
[Header("Checkpoints")]
|
|
[Space]
|
|
public GameObject Checkpoints;
|
|
|
|
[Header("Bonus Levels")]
|
|
[Space]
|
|
|
|
[Header("Levels Progression")]
|
|
[Space]
|
|
public List<LevelDef> levels = new List<LevelDef>();
|
|
public List<LevelDef> levelsShorter = new List<LevelDef>();
|
|
public List<LevelDef> levelsDiffPath = new List<LevelDef>();
|
|
[Header("Sections")]
|
|
public Section initialSection;
|
|
|
|
public Section finalSection;
|
|
|
|
public Section finalSectionABTest;
|
|
|
|
[Space]
|
|
public List<Section> sections;
|
|
|
|
public List<string> sectionDirs = new List<string> { "Assets/Prefabs/Sections" };
|
|
}
|