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

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

201. VScrollBar属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 66%]

...滚动条。 **示例代码:** ```javascript var Stage = Laya.Stage; var Text = Laya.Text; var HScrollBar = Laya.HScrollBar; var ScrollBar = Laya.ScrollBar; var VScrollBar = Laya.VScrollBar; var Handler = Laya.Handler; var WebGL = Laya.WebGL; /***垂直滚动条资源**/ this.skins = ["res/ui/vscr...

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

202. ComboBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 66%]

...。 ```javascript package { import laya.display.Stage; import laya.display.Text; import laya.ui.ComboBox; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_ComboBox { /***下边列表美术资源**/ private var skin:String = "../../../../res/ui/combobox.png"; /***下拉列表**/ pr...

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

203. 关于 iframe跳转地址 [ 66%]

...h="0" marginheight="0" bgcolor="#000000"></body> <script type="text/javascript" language="javascript"> var arguments = window.location.search; var url = "http://119.29.138.145/bgame/in ... 3B%3B // http://119.29.138.145/bgameClient/index.html(游戏地址 体验服) // http://119.29.1...

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

204. 进度条滚动无效【已解决】 [ 66%]

...gress++; //最高100%进度 if(progress>=100) { progress=100; this.tips.text="游戏加载完毕,即将进入游戏..." this.panel.visible=false; this.gobtn.visible=true; }else { this.pro.value=progress/100; this.tips.text="游戏正在加载中,当前进度为:"+progress+"%!" } } 2018-01-2...

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

205. [LayaAir3]3.3 UI材质球批处理异常 [ 66%]

... blendMode='lighter' 图片异常 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 构建iOS工程后,真机上运行显示“网络异常,请检查您的网络或与开发商联系...”, unity到导出场景加载时抛异常,...

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

206. 缓动动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 66%]

... w >> 1; //显示的字符串 var demoString:string = "LayaBox"; var letterText:Laya.Text; //根据"LayaBox"字符串长度创建单个字符,并对每个单独字符使用缓动动画 for(var i:number = 0,len:number = demoString.length;i(动图2) 结合实例代码,然后通过图2的运动...

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

207. [LayaAirIDE3]layaAir3.3按钮组件没有skin属性了 [ 65%]

...帧属性面板不见了 List 组件列表渲染异常 分享,扩展Laya.Text组件实现简单的富文本 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 编辑器Tree组件树节点渲染回调两次 View嵌套Dialog组件 [3.0.7]Sp...

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

208. 在微信小游戏中使用BitmapFont会导致报错. [ 65%]

.../timerfont.fnt', Laya.Handler.create(this, () => {         Laya.Text.registerBitmapFont('Name', timerFont);         Laya.loader.load("res/atlas/comp.atlas", Handler.create(null, onLoaded));     })); }  function onLoaded(): void {     //实例UI界面     var testUI: T...

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

209. AS3与JS混合编码 [ 65%]

...方实例执行是可以, 引用方式是本地的话:<script type="text/javascript" src="xxxx.js"></script> 调用Browser.window.xxx(参数或方法)即可,前提是必须将下载的js文件放到bin/h5目录下   但是如果引用的是外部网址的js,Browser.window.xxx就...

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

210. 加载-错误处理和进度 [ 65%]

....onAssetLoaded), Handler.create(this, this.onLoading, null, false), Loader.TEXT); // 侦听加载失败 Laya.loader.on(Event.ERROR, this, this.onError); } onAssetLoaded(texture) { // 使用texture console.log("加载结束"); } // 加载进度侦听器 onLoading(progress) { console.log("加载进度...

来源: Laya2.0_示例 发布时间: 20251130