﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HPSystem : MonoBehaviour {

	public float HP;
	public float MaxHP;


	void Start () {
		
	}
	
	void Update () {
		
		if (HP <= 0)
		{
		gameObject.SetActive(false);
		}
	}
}
