Some understanding of the component nodes of cocos creator

Node cc.Node, a scene can contain any number of nodes, the node is a tree structure, the larger the z-axis of the node, the higher it is, the easier it is to see. Each node can contain as many components as you want, but each node can only contain one render component (cc.Sprite, cc.Label, etc.). Only nodes can be added below the node, and only components can be mounted on the node

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326360946&siteId=291194637