mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 17:17:47 -05:00
12 lines
230 B
C#
12 lines
230 B
C#
|
using UnityEngine;
|
|||
|
using UnityAtoms.BaseAtoms;
|
|||
|
|
|||
|
public class UnitHealth : MonoBehaviour
|
|||
|
{
|
|||
|
public int Health { get => _health.Value; set => _health.Value = value; }
|
|||
|
|
|||
|
|
|||
|
[SerializeField]
|
|||
|
private IntReference _health;
|
|||
|
}
|