Cocos Creator API

1.3.0

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

RawAsset static

: cc

The base class for registering asset types.

You may want to override:

  • createNode (static)

_uuid String private

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index

createNodeByInfo
(
  • Info
  • callback
)
static

Create a new node in the scene.
If this type of asset dont have its corresponding node type, this method should be null.

Info Object
callback Function
  • error String

    null or the error info

  • node Object

    the created node or null

isRawAssetType
(
  • ctor
)
Boolean private static

ctor Function

:

There are no methods that match your current filter settings. You can change your filter settings in the index section on this page. index