Help pls

What is the cause of the following error?


“no suitable method found to override” & “MonoBehaviour does not contain a definition for ‘OnKill’” seems pretty self explanatory. MonoBehaviour doesn’t have an “OnKill” to override!

Maybe you’re thinking of “OnDestroy” (docs) and you just made-up “OnKill”?