require=function(){return function e(o,r,n){function t(l,i){if(!r[l]){if(!o[l]){var a="function"==typeof require&&require;if(!i&&a)return a(l,!0);if(c)return c(l,!0);var u=new Error("Cannot find module '"+l+"'");throw u.code="MODULE_NOT_FOUND",u}var f=r[l]={exports:{}};o[l][0].call(f.exports,function(e){var r=o[l][1][e];return t(r||e)},f,f.exports,e,o,r,n)}return r[l].exports}for(var c="function"==typeof require&&require,l=0;l<n.length;l++)t(n[l]);return t}}()({HelloWorld:[function(e,o,r){"use strict";cc._RF.push(o,"280c3rsZJJKnZ9RqbALVwtK","HelloWorld"),cc.Class({extends:cc.Component,properties:{label:{default:null,type:cc.Label},text:"Hello, World!"},onLoad:function(){this.label.string=this.text},addPrefab:function(){console.log("添加prefab");var e=this;cc.loader.loadRes("testPrefab",cc.Prefab,function(o,r){if(o)console.log("加载prefab失败");else{var n=cc.instantiate(r);e.node.addChild(n),console.log("加载prefab成功")}})},returnBack:function(){console.log("返回大厅"),cc.beforeScene="start",cc.director.loadScene("start")},enterSecondScene:function(){console.log("进入大厅的second场景"),cc.director.loadScene("second")},update:function(e){}}),cc._RF.pop()},{}]},{},["HelloWorld"]);