For example, I have a custom resource
EventHandler, and I want to export it like
export (EventHandler) var event. But, if I try this, I will catch an error. I don't want to export basic
Resource type. Should I write some kind of C++ extension? How can i do this?