34 lines
778 B
C#
34 lines
778 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
using UnityEngine.SceneManagement;
|
|
using System;
|
|
using UnityEditor;
|
|
|
|
|
|
[CreateAssetMenu(fileName = "BattleConfig")]
|
|
public class BattleConfig : ScriptableObject
|
|
{
|
|
public BattleCharacteristics battleCharacteristics;
|
|
}
|
|
[Serializable]
|
|
public class BattleCharacteristics
|
|
{
|
|
public bool FirstPhase;
|
|
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;
|
|
}
|