PO/Assets/Scripts/Configs/EnemyConfig.cs

21 lines
427 B
C#
Raw Normal View History

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