//============================================================================================================================== //Unity defined functions // Use this for initialization void Start() { player = GameObject.FindWithTag("Player").GetComponent<PlayerControl_Script>(); currentHealth = maxHealth; endCanvas.SetActive(false); }
//============================================================================================================================== //Unity defined functions // Use this for initialization void Start() { player = GameObject.FindWithTag("Player").GetComponent <PlayerControl_Script>(); currentHealth = maxHealth; endCanvas.SetActive(false); }