14 lines
287 B
C#
Raw Normal View History

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