unity-atoms/Examples/Assets/Common/UnitHealth.cs
2020-03-19 22:29:42 +01:00

14 lines
287 B
C#

using UnityEngine;
using UnityAtoms.BaseAtoms;
namespace UnityAtoms.Examples
{
public class UnitHealth : MonoBehaviour
{
public int Health { get => _health.Value; set => _health.Value = value; }
[SerializeField]
private IntReference _health;
}
}