twinStick/twinStickCrawler/Assets/Scripts/Creatures/Vitals.cs

15 lines
317 B
C#

using UnityEngine;
public class Vitals : MonoBehaviour
{
[SerializeField]
private float initHealth = 100;
public float Health { get; set;}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
Health = initHealth;
}
}