28 lines
537 B
C#
28 lines
537 B
C#
using System.Collections.Generic;
|
|
using System;
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
|
|
[CreateAssetMenu(fileName = "EnemyConfig")]
|
|
public class EnemyConfig : ScriptableObject
|
|
{
|
|
public EnemyCharacteristics enemyCharacteristics;
|
|
|
|
}
|
|
[Serializable]
|
|
public class EnemyCharacteristics
|
|
{
|
|
public string name;
|
|
public int maxHp;
|
|
public int damage;
|
|
public int healing;
|
|
public Sprite sprite;
|
|
[Range(1, 3)]
|
|
public int minimumPosition;
|
|
[Range(1, 3)]
|
|
public int maximumPosition;
|
|
|
|
}
|
|
|