• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)

1301. ProgressBar属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 48%]

...码设定ProgressBar相关的属性。 **运行示例效果:** ​ ![5](gif/1.gif) ​ (图5)通过代码创建ProgressBar ​ ProgressBar的其他属性也可以通过代码来设置,上述示例演示了如何通过代码创建不同皮肤(样式)的ProgressBar,有兴趣的读者可以自...

来源: Laya2.0_文档 发布时间: 20210715

1302. Texture如何转换成Texture2D有人搞过吗 [ 48%]

...上就能找到) function dataURLtoBlob(base64Data):*{ var byteString; if (base64Data.split(",")[0].indexOf("base64") >= 0) byteString = Browser.window. atob(base64Data.split(",")[1]); else byteString = Browser.window.unescape(base64Data.split(",")[1]); var mimeString = base64Data .split(",")[0...

来源: Laya_社区 发布时间: 20181221

1303. 关于项目分包的问题?? [ 48%]

...Rate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为横屏模式 IFlash.setBgcolor("#FFFFFF"); //背景色 IFlash.showInfo(false); //是否显示帧率 if (stage) init(); else addEv...

来源: Laya_社区 发布时间: 20151225

1304. 用xml描述创建一个clip,interval字段妖孽无效 [ 48%]

...             clip.name='Ele' +id;                 if (node.nodeName == "clip")                 {                     clip.autoPlay = true;                     //妖孽在此,此妖只吃新鲜数字常量,直接上供写上100...

来源: Laya_社区 发布时间: 20170918

1305. Web Storage数据存储(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 48%]

...ya.init(100,100); var sessionStroage = Laya.Browser.window.sessionStroage; if(sessionStorage.pagecount){ sessionStorage.pagecount = parseInt(sessionStorage.pagecount)+1; } else{ sessionStorage.pagecount = 1; } console.log(sessionStorage.pagecount); ``` var sessionStroage = Laya.Browser.window.sessio...

来源: Laya2.0_文档 发布时间: 20210715

1306. App Updates for HTML5 Apps 这意味着iOS端就废了? [ 48%]

...d curated experience that they expect on the App Store, we have always specified that apps must be self-contained bundles. This means that the core features and functionality of the app must be contained within the binary of the software, rather than made possible by referring users outside of the a...

来源: Laya_社区 发布时间: 20190909

1307. laya.d3.webxr.core.WebXRSessionManager_API3.0 [ 48%]

...mersive-ar" Returns Promise<boolean> A Promise that resolves to true if supported and false if not off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/ev...

来源: Laya3.0_api 发布时间: 20231115

1308. 开发数据域报错wx.getFileSystemManager is not a function [ 48%]

...内容相关的链接 提交 3 个回复 李政666 赞同来自: //主域if(Laya.Browser.onMiniGame){//加载一个json和图集Laya.loader.load(["json/reward.json","res/atlas/test.atlas"],Laya.Handler.create(null,function(){//加载完成//使用接口将图集透传到子域Laya.MiniAdpter.sendAtl...

来源: Laya_社区 发布时间: 20190419

1309. 使用js压缩工具报错 [ 47%]

使用js压缩工具报错 提示undifined 附件 : --> LayaDefault.max_.zip 2018-08-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 描述一下问题,不要直接发demo,正常跑...

来源: Laya_社区 发布时间: 20180806

1310. uglify压缩后的错误堆栈解析 [ 47%]

uglify压缩后的错误堆栈解析 1、js的压缩工具:.laya/publish.js 中 // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle...

来源: Laya_社区 发布时间: 20200720