// Start is called before the first frame update void Start() { menuFonctions = GameObject.Find("GameManager").GetComponent <KLD_MenuFonctions>(); hpDisplayText = GameObject.Find("LifeCanvas").transform.GetChild(0).GetComponent <Text>(); curHP = startHP; refreshHpDisplay(); }
// Start is called before the first frame update void Start() { menuFonctions = GameObject.Find("GameManager").GetComponent <KLD_MenuFonctions>(); }