I have followed the code from the lecture but I am still getting a NullReferenceException at FindObjectOfType().AttackerKilled(); in the Attacker script. I have even tried copying the code directly from lecture project changes but nothing is solved. is something wrong with my code? or is it something else that I am not seeing?
