Developers Manual > Cocos Studio > Scene Editor > Scene Component > Scene Component Attribute

Scene Component Attribute

Icon

Description

The ComAttribute component contains the function of rendering a UI component. After binding to a ComAttribute component, a NULL object will be modified to a ComAttribute object.

Properties

For more information, see Scene Component general properties.

Feature

Name

The component’s name, which can let us get component in programs(getComponent). The component’s name can be amended and the default name is CCComAttribute.

File

The path of a json date file.

5-3-8-img-01.png (1.6 kB) hanrea@qq.com, 2013-12-04 08:57

5-3-8-img-02.png (4.9 kB) hanrea@qq.com, 2013-12-04 08:57

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.