how can I dynamicly add a custom to the Cocos Creator Editor Scene
I have a custom class:
class MyCustomNode extends cc.Node
this.name = "MyCustomNode";
this.setContentSize( cc.size(128, 128) );
// this.properties.type = cc.Node;
When I add MyCustomNode dynamicly to Scene there is a Error in the Console "Unknown Type".
So what can I do to solve this issue?
Second Question: How can I add own Properties to MyCustomNode, so that these Properties will show in Editor.
I would be glad if I get some Help from you guys...