21 lines
571 B
C#
21 lines
571 B
C#
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
namespace GameDev.CoreSystems
|
|
{
|
|
[CreateAssetMenu(fileName = "newTargeterConfiguration", menuName = "Configuration/Targeter")]
|
|
public class SoTargeterConfig : ScriptableObject
|
|
{
|
|
[FormerlySerializedAs("_range")]
|
|
public float _maxRange;
|
|
public float _minRange;
|
|
public TargetStrategy _selectedTargetStrategy;
|
|
public SoTargetableRuntimeSet _activeEntities;
|
|
|
|
public enum TargetStrategy
|
|
{
|
|
LowestRange,
|
|
LowestHealth
|
|
};
|
|
}
|
|
} |