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

大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0085 秒)

1151. Sprite-新手引导 [ 63%]

...#000000"); guideContainer.hitArea = hitArea; guideContainer.mouseEnabled = true; tipContainer = new Sprite(); Laya.stage.addChild(tipContainer); nextStep(); })(); function nextStep() { if (guideStep == guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer);...

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

1152. 2.4.0怎么调试呢? [ 63%]

...自: 试试将 VSCode 配置中的debug.allowBreakpointsEverywhere设置为true 2019-11-15 0 1 分享 微博 QZONE 微信 奶我嘛 赞同来自: 在vs中生成luanch.json,下载插件bugger for chrome,直接在vs这边f5就可以运行并调试断点了,如果还是不行,直接从旧版的...

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

1153. laya.net.URL [ 63%]

...an = false[static] 兼容微信不支持加载scene后缀场景,设置为true,则会把scene加载替换为jsonURL  path : String[read-only] 地址的文件夹路径(不包括文件名)。URL  rootPath : String[static] root路径。只针对'~'类型的url路径有效URL  url : String[...

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

1154. 动画状态机详解 · LayaAir3.0文档 · LAYABOX [ 63%]

...来看看Bool条件怎么设置,首先要定义一个Bool的参数(有true或false),其次在条件中,可以选择这个Bool参数,最后可以勾选true或者false。那么动图5-6的意思是,当Bool为true时,切换New State到New State0。 注意:当定义这个Bool参数时...

来源: Laya3.0_文档 发布时间: 20230804

1155. oppo CanvasRenderingContext2D 并没有实现 drawImage;报错; [ 63%]

...xelStorei(/*laya.webgl.WebGLContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL*/0x9241,true)); gl.texImage2D(this._glTextureType,0,glFormat,glFormat,/*laya.webgl.WebGLContext.UNSIGNED_BYTE*/0x1401,source); (premultiplyAlpha)&& (gl.pixelStorei(/*laya.webgl.WebGLContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL*/0x9...

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

1156. 两个问题都关于LayaAir的ios真机 [ 63%]

...; _selected) return; if(e.type==Event.MOUSE_DOWN){ QuickUtils.addDark(this,true); }else{ QuickUtils.addDark(this,false); } if (e.type === Event.CLICK) { toggle && (selected = !_selected); _clickHandler && _clickHandler.run(); return; } !_selected && (state = stateMap[e.type])...

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

1157. 关于WebGL矢量图的遮罩问题 [ 63%]

..., 遮罩会显示错误 //关闭WebGL, 遮罩会显示正确 let isWebGL = true if (isWebGL) { Laya.init(1024, 1024, Laya.WebGL); } else{ Laya.init(1024, 1024); } //等待可调试 Laya.timer.once(1000, null, ()=>{ let mask = new Laya.Sprite() let sprite = new Laya.Sprite() sprite.mask = mask Lay...

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

1158. Sprite-新手引导 [ 63%]

..., "#000"); guideContainer.hitArea = hitArea; guideContainer.mouseEnabled = true; tipContainer = new Sprite(); Laya.stage.addChild(tipContainer); this.nextStep(); } nextStep() { if (guideStep === guideSteps.length) { Laya.stage.removeChild(guideContainer); Laya.stage.removeChild(tipContainer); return...

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

1159. 3d模型旋转问题 [ 63%]

...请教下大家 我转X轴的时候用的是 sphere.transform.rotate(vectx,true,false); 转Y轴的时候用的是sphere.transform.rotate(vecty,false,false); 一个是局部,一个是世界 我怎么限制x轴转到北极就不转了,欧拉角,同一个位置每次输出的值都不一样,怎...

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

1160. UI-Input [ 63%]

... ti.sizeGrid = "0,40,0,40"; ti.font = "Arial"; ti.fontSize = 30; ti.bold = true; ti.color = "#606368"; Laya.stage.addChild(ti); return ti; } } } new laya.UI_Input();package { import laya.display.Stage; import laya.ui.TextInput; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_Inpu...

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