Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
public class PlayerHealth : MonoBehaviour {
public float hitPoints = 100f;//max health
public float currentHitPoints;
public GameObject destroyFX, lose;
// Use this for initialization
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1 {
class Program {
static void Main(string[] args) {