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

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

111. 3D物体active从false设置为true后,Script3D的onUpdate会重复执行 [ 89%]

3D物体active从false设置为true后,Script3D的onUpdate会重复执行 Script3D里的onUpdate设置旋转,当多次隐藏,显示后,会旋转得越来越快。   第一次的时候,log是这样的   5次隐藏显示后,log是这样的   Demo代码在附件 附件 : --> testbug.zip...

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

112. 开启了MiniAdpter.init(true)之后,主域load的资源中,有一张PNG大图子域名那边怎么也接收不到,其他的config和音效资源都能通过onMessage收到,请问这是什么原因啊? [ 89%]

开启了MiniAdpter.init(true)之后,主域load的资源中,有一张PNG大图子域名那边怎么也接收不到,其他的config和音效资源都能通过onMessage收到,请问这是什么原因啊? 开启了MiniAdpter.init(true)之后,主域load的资源中,有一张PNG大图子...

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

113. laya.ui.ScrollBar [ 88%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...

来源: Laya2.0_api 发布时间: 20190513

114. laya.ui.VScrollBar [ 88%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...

来源: laya_api 发布时间: 20170929

115. 高级应用-Laya3D与网页混合 [ 88%]

...ocument.body.appendChild(div); //1.开启第四个参数 Laya3D.init(0, 0, true, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //2.设置舞台背景色为空 Laya.stage.bgColor = "none"; var scene = Laya.stage.addChild(new Laya.Scene()) ; var c...

来源: Laya_示例 发布时间: 20251130

116. laya.ui.HScrollBar [ 88%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容...

来源: laya_api 发布时间: 20170929

117. laya默认模型的阴影没有渲染 [ 88%]

...信小游戏 Laya.MiniAdpter.init(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); //添加3D场景 var scene = Laya.stage.addChild(new Laya.Scene()); //...

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

118. 如何获取实时更新的动态数据,数据在文本中 [ 88%]

...执行加载文本资源函数Laya.stage.frameLoop(1,this,this.Repeat,null,true);这是加载资源的函数内的代码loadPosition():void{ /* let resArray:Array<any>=[ {url:"eyeimf.txt",type:Laya.Loader.TEXT} ] Laya.loader.load(resArray,Laya.Handler.create(this,this.Onloaded),null,Laya.Loade...

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

119. laya2.13.0版本MiniAdpter.AutoCacheDownFile = true设置了之后无效不会缓存json,fui,altas等文件 [ 88%]

laya2.13.0版本MiniAdpter.AutoCacheDownFile = true设置了之后无效不会缓存json,fui,altas等文件 用下面的代码打印layaairfiles.txt,里面没有fui,json,altas等文件 用下面的代码打印layaairfiles.txt,里面没有fui,json,altas等文件 附件 : --> 2023-08-31 添加评...

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

120. [LayaAir IDE 2.0 beta4] 使用 prettier 格式化 ts 插件问题 [ 88%]

... code 中没有这个问题   .prettierrc { "tabWidth": 2, "singleQuote": true, "semi": false }   setting.json { "prettier.semi": false, // 不加分号 "prettier.singleQuote": true, // 单引号 "editor.formatOnSave": true // prettier用的是系统默认的保存格式化  }  插件地址: h...

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