I was recently working on port a game from Unity to cocos creator.
Right now I was looking at the inspector components of the cocos creator.
I see that we can expose ‘Nodes’, ‘Number’, ‘Vec3’
Usually we can expose variable that inherit from the ‘Component’ type.
Even we can expose data like arrays from ‘SpriteFrame’ but looks like you cannot do that for array of nodes. This can also help for prefabs.
I was wonder how you can for example setup events ?
Here on the script of the button it already do that.
But I cannot find how to use this, setup event on the inspector can save a lot of setup and scripting.