大约有 2,740 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0080 秒)
Laya_社区(1925) Laya3.0_api(248) Laya2.0_api(162) laya_api(132) Laya_示例(81) Laya2.0_文档(81) Laya2.0_示例(65) Laya3.0_文档(46)
...回复 Monica - 知识达人 赞同来自: 引用relativePath的对象是null,你可以自己断点看下引用它的对象是谁,然后查下为什么是null。 你这边找不到具体原因的麻烦上传一个可以运行的例子吧,根据现有的描述看不出来具体是哪里的问...
来源: Laya_社区 发布时间: 20171205
...Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurikenParticleSystem: Array<ShurikenParticleSystem>= []; constructor() { super(); } //通过传...
来源: Laya3.0_文档 发布时间: 20251010
...Sprite3D { private _isInited: boolean = false; private _filePath: string = null; private _particle: Laya.Sprite = null; private _shuriKenParticle3D: Array<ShuriKenParticle3D>= []; private _shurikenParticleSystem: Array<ShurikenParticleSystem>= []; constructor() { super(); } //通过传...
来源: Laya3.0_文档 发布时间: 20250104
....load("res/atlas/Skill/Skill_1001.json",Handler.create(this,onAssetLoaded),null,Laya.Loader.ATLAS); 你没有给资源加载完成的回调,资源的后缀也错了,应该是Loader.ATLAS,你少了一个Loader 多个图集的话建议放到一个load里边进行加载: Laya.loader.load([{u...
来源: Laya_社区 发布时间: 20171227
...e(this, function (isOK) { if (isOK) { sprite.skin = address; } else { } }, null, true), Laya.Handler.create(this, function (percent) { }, null, false)); } 解密应该没错,我试了 2018-02-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20180201
...e2D.ts:33 Texture2D资源。 Static blackTexture blackTexture: Texture2D = null Defined in laya/resource/Texture2D.ts:40 纯黑色纹理。 Static errorTexture errorTexture: Texture2D = null Defined in laya/resource/Texture2D.ts:44 错误纹理 Static grayTexture grayTexture: Texture2D = null Define...
来源: Laya3.0_api 发布时间: 20231115
...一个新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns UIGroup Properties Optional _extra _extra: INodeExtra Inherited from Node._extra De...
来源: Laya3.0_api 发布时间: 20231115
...underlineColor Defined in laya/display/Text.ts:646 下划线的颜色,为null则使用字体颜色。 Returns string Inherited from Text.underlineColor Defined in laya/display/Text.ts:650 下划线的颜色,为null则使用字体颜色。 Parameters value: string Returns void url get url(): stri...
来源: Laya3.0_api 发布时间: 20231115
... "none"; //背景透明 } else { Laya.init(800, 600); Laya.stage.bgColor = null; //背景透明 } //画布水平居中对齐 Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; //画布垂直居中对齐 Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; //设置适配模式 Laya.stage.scaleMode = Laya.Stage.SCA...
来源: Laya_社区 发布时间: 20170803
...辑或者使用getComponent方法 Returns void play play(name?: string | null, layerIndex?: number, normalizedTime?: number): void Defined in laya/d3/component/Animator.ts:1132 播放动画。 Parameters Default value name: string | null = null 如果为null则播放默认动画,否则按名字播...
来源: Laya3.0_api 发布时间: 20231102