guibec / rpgcraft

RPGCraft - Minecraft / Terraria / RPGMaker mashup
MIT License
8 stars 2 forks source link

Fix OnDestroy name clash #153

Closed robinlavallee closed 4 years ago

robinlavallee commented 4 years ago

OnDestroy is a reserved Unity method https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnDestroy.html Use a different method name for requesting destruction of Entity instead.