PO/Assets/Scripts/Configs/BattleConfig.cs

34 lines
778 B
C#
Raw Normal View History

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;
[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;
}