2022-01-12 10:06:03 +03:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.Events;
|
|
|
|
|
using UnityEngine.SceneManagement;
|
|
|
|
|
using System;
|
|
|
|
|
using UnityEditor;
|
|
|
|
|
|
|
|
|
|
|
2022-01-17 17:49:27 +03:00
|
|
|
|
[CreateAssetMenu(fileName = "BattleConfig", menuName = "Configs/BattleConfig")]
|
2022-01-12 10:06:03 +03:00
|
|
|
|
public class BattleConfig : ScriptableObject
|
|
|
|
|
{
|
|
|
|
|
public BattleCharacteristics battleCharacteristics;
|
|
|
|
|
}
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class BattleCharacteristics
|
|
|
|
|
{
|
2022-01-17 17:49:27 +03:00
|
|
|
|
|
2022-01-12 10:06:03 +03:00
|
|
|
|
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;
|
|
|
|
|
}
|