17 lines
291 B
C#
17 lines
291 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Entity : MonoBehaviour
|
|
{
|
|
[Header("Stats")]
|
|
public EntityStats stats;
|
|
[Header("Cache")]
|
|
public List<Entity> entitiesInRange = new();
|
|
public Entity closestEntity;
|
|
|
|
public virtual void OnDeath()
|
|
{
|
|
|
|
}
|
|
}
|