![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Taburetk |
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 basicResource
type. Should I write some kind of C++ extension? How can i do this?
Any reason why
export (Script) var event
or
export (PackedScene) var event
won’t work for you?
njamster | 2020-02-12 13:09
Script
and PackedScene
are engine resources, custom resources are something different.
Zylann | 2020-02-13 14:04
I see. Where could I read up on custom resources? Never used them so far.
njamster | 2020-02-13 15:00