mirror of
https://github.com/Leo501/CocosCreatorTutorial.git
synced 2026-05-15 11:15:55 +08:00
14 lines
190 B
JavaScript
14 lines
190 B
JavaScript
cc.Class({
|
|
extends: cc.Component,
|
|
|
|
properties: {
|
|
nodeContext: cc.Node
|
|
},
|
|
|
|
onLoad() {
|
|
this.nodeContext.removeAllChildren();
|
|
},
|
|
|
|
|
|
// update (dt) {},
|
|
}); |