I get this error about object not being destroyed in the editor because it can be done only in game blabla and it's really annoying. Any way to remove it?
Destroy may not be called from edit mode! Use DestroyImmediate instead. Also think twice if you really want to destroy something in edit mode. Since this will destroy objects permanently.
The error if you're wondering.
I don't want to destroy the object in editor anyway, so go away.