unity-atoms/Examples/Assets/InfinityWaves/UnitHealth.cs

12 lines
230 B
C#
Raw Normal View History

2020-03-04 18:48:39 -05:00
using UnityEngine;
using UnityAtoms.BaseAtoms;
public class UnitHealth : MonoBehaviour
{
public int Health { get => _health.Value; set => _health.Value = value; }
[SerializeField]
private IntReference _health;
}