20 lines
378 B
C#
20 lines
378 B
C#
using Unity.VisualScripting;
|
|
using UnityEngine;
|
|
|
|
|
|
public class Unit : MonoBehaviour
|
|
{
|
|
[SerializeField] public HealthHandler healthHandler;
|
|
[SerializeField] public AttackHandler attackHandler;
|
|
|
|
|
|
void Start()
|
|
{
|
|
// Null safety enjoyers things
|
|
Debug.Assert(healthHandler != null);
|
|
Debug.Assert(attackHandler != null);
|
|
|
|
}
|
|
|
|
|
|
}
|