using UnityEngine;
using System.Collections;
using AdvancedShooterKit;
public class pullhpdata : MonoBehaviour {
public int currenhp;
public int maxhp;
public Health HPscript;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
HPscript.currentHealth = currenhp;
HPscript.maxHealth = maxhp;
}
}
It looks like you're new here. If you want to get involved, click one of these buttons!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games
or check out the face book page here https://www.facebook.com/ForeLoreGames