Skip to content
RED SAGSkills
medium10 pts · first answer countsgame-enginesunitycsharp

target?.Attack() on a destroyed enemy

An enemy was Destroyed. Code then calls target?.TakeDamage(5) and gets a MissingReferenceException. Why did ?. not help?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions