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