34 lines
786 B
C#
34 lines
786 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
using UnityEngine.SceneManagement;
|
|
using System;
|
|
using UnityEditor;
|
|
|
|
|
|
[CreateAssetMenu(fileName = "BattleConfig", menuName = "Configs/BattleConfig")]
|
|
public class BattleConfig : ScriptableObject
|
|
{
|
|
public BattleCharacteristics battleCharacteristics;
|
|
}
|
|
[Serializable]
|
|
public class BattleCharacteristics
|
|
{
|
|
|
|
public Phase firstPhaseOptions;
|
|
public bool SecondPhase;
|
|
public Phase SecondPhaseOptions;
|
|
public bool ThirdPhase;
|
|
public Phase ThirdPhaseOptions;
|
|
}
|
|
[Serializable]
|
|
public class Phase
|
|
{
|
|
public List<EnemyConfig> enemies = new List<EnemyConfig>();
|
|
[Range(1, 3)]
|
|
public int minimumQuantity;
|
|
[Range(1, 3)]
|
|
public int maximumQuantity;
|
|
}
|