unity-atoms/Examples/Assets/InfinityWaves/UnitHealth.cs
2020-03-05 00:48:39 +01:00

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;
}