Class cc.LoaderScene
- Defined in: CCLoaderScene.js
- Extends cc.Scene
Constructor Attributes | Constructor Name and Description |
---|---|
cc.LoaderScene is a scene that you can load it when you loading files cc.LoaderScene can present thedownload progress |
Method Summary
Class Detail
cc.LoaderScene()
cc.LoaderScene is a scene that you can load it when you loading files
cc.LoaderScene can present thedownload progress
var lc = new cc.LoaderScene();
Method Detail
-
cc.LoaderScene.preload can present a loaderScene with download progress.
when all the resource are downloaded it will invoke call function
//Example cc.LoaderScene.preload(g_resources, function () { cc.director.runScene(new HelloWorldScene()); }, this);
- Parameters:
- resources
- cb
- target
- Returns:
- {cc.LoaderScene|*}