// Use this for initialization void Start() { wm = GameObject.Find("GameManager").GetComponent <WaveManager>(); healthScript = GetComponent <PlayerHealth_New>(); healthScript.EventRespawn += EnablePlayer; }
// Use this for initialization void Start() { healthScript = GetComponent <PlayerHealth_New>(); healthScript.EventDie += DisablePlayer; }