PO/Assets/Scripts/Configs/EnemyConfig.cs

28 lines
537 B
C#
Raw Normal View History

using System.Collections.Generic;
using System;
2022-01-12 10:06:03 +03:00
using UnityEditor;
using UnityEngine;
using UnityEngine.Events;
2022-01-12 10:06:03 +03:00
[CreateAssetMenu(fileName = "EnemyConfig")]
public class EnemyConfig : ScriptableObject
{
public EnemyCharacteristics enemyCharacteristics;
2022-01-12 10:06:03 +03:00
}
[Serializable]
public class EnemyCharacteristics
{
public string name;
public int maxHp;
public int damage;
public int healing;
2022-01-12 10:06:03 +03:00
public Sprite sprite;
[Range(1, 3)]
2022-01-12 10:06:03 +03:00
public int minimumPosition;
[Range(1, 3)]
2022-01-12 10:06:03 +03:00
public int maximumPosition;
}