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

15 lines
317 B
C#
Raw Normal View History

2024-12-17 21:46:05 +00:00
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;
}
}