大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0071 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...换字符串中的转义字符 UIUtils clearFilter(target:Sprite, filterType:Class):void[static] 移除目标显示对象的指定类型滤镜。 UIUtils fillArray(arr:Array, str:String, type:Class = null):Array[static] 用字符串填充数组,并返回数组副本。 UIUtils gray(traget...
来源: laya_api 发布时间: 20170929
...et item1 = Laya.Pool.createByClass(TestClass); console.log('item1:', item1.type); Laya.Pool.recoverByClass(item1); let item2 = Laya.Pool.createByClass(TestClass2); console.log('item2:', item2.type); console.log(item1 == item2); } } export class TestClass { type = 0; } export class TestClass2 extends...
来源: Laya_社区 发布时间: 20250819
...是在LayaAir IDE下进行调试和开发的。通常情况不会接触到typescript的“编译”和bundle过程。这节我们要深入了解其中的过程,并剥离出来,能够在VsCode中直接运行项目,实时编译调试。 2.LayaAir的编译流程 打开LayaAirIDE的文件夹 La...
来源: Laya_社区 发布时间: 20200918
...ents/sports1/.laya/gulpfile.js [11:19:00] Starting 'default'... 出错了: TypeScript error: ../node_modules/@types/node/index.d.ts(34,22): Error TS6053: File '../node_modules/@types/node/inspector.d.ts' not found. 重装node.js 和 ts 都不行...求救~~ 2018-12-06 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20181206
...esArray: Array<any> = [ { url: hyip+"res/atlas/comp/01_shouye.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/02_zhujiemian.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/30_loading.json", type: Loader.ATLAS }, ]; Laya.loader.load(resArray, Laya.Handler.create(this, this.onL...
来源: Laya_社区 发布时间: 20180122
... Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLine(startPosition:Vector3, endPosition:Vector3, startColor:Color, endColor:Color):...
来源: Laya2.0_api 发布时间: 20190513
...域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY : Number[read-only] 返回鼠标在此对象坐标系...
来源: Laya2.0_api 发布时间: 20190513
...property instanceof Material) { switch (node.type) { case KeyFrameValueType.Float: property = property.getFloat(node.getPropertyByIndex(i)); break; ...
来源: Laya_社区 发布时间: 20240517
...是进入下载页还是出现问题 http://ldc.layabox.com/layadownload/?type=layaair 出现下面的报错 X-Frame-Options may only be set via an HTTP header sent along with a document. It may not be set inside <meta>. jquery.js?v=laya_20170705:9645 GET https://official.layabox.com/g ... 559...
来源: Laya_社区 发布时间: 20170710
...序之前引用还是在之后引用呀 <script src='res/protobuf.js' type='text/javascript'></script> <script src='res/bytebuffer.js' type='text/javascript'></script> <script src='LayaSample.max.js' loader='laya'></script> 有没有人能提供protobuf.js和byteb...
来源: Laya_社区 发布时间: 20170218