大约有 437 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0061 秒)
...rivate static SingletonList_expand(){ Laya.SingletonList.prototype["_remove"] = function(index){ // @xd added, 如果index == -1 不执行 if(index == -1){ return; } ...
来源: Laya_社区 发布时间: 20190618
... this.onFontLoaded(); }), Handler.create(this, (progress) => { console.log('bitmapFont loading', progress); }, null, false)); this.bitmapFont = new BitmapFont(); } onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(1...
来源: Laya_社区 发布时间: 20190221
...游戏如何使用ttf字体? 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小游戏:HTMLDivElement的使用 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 红米K20pro 多个手指同时按下就会报这个...
来源: Laya_社区 发布时间: 20200623
...ing="<data>"+ "<dir name='shi' num='10000' state='已集结' time_pro='' isOpen='true'>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"+ "<file num='1000' ok='ok' isOpen='true'/>"...
来源: Laya_社区 发布时间: 20170717
... this.onFontLoaded(); }), Handler.create(this, (progress) => { console.log('bitmapFont loading', progress); }, null, false)); this.bitmapFont = new BitmapFont(); } onFontLoaded() { // 设置空格的宽 this.bitmapFont.setSpaceWidth(1...
来源: Laya_社区 发布时间: 20190225
...行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine3D: Laya.Spine3DRenderer; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // ...
来源: Laya3.0_文档 发布时间: 20260203
...pineBinary { constructor() { this.aniPath = "res/powerup-pro.skel"; this.index = -1; // Laya.init(Browser.width, Browser.height, WebGL); // Laya.stage.scaleMode = Stage.SCALE_NOSCALE; // Laya.stage.bgColor = "#232628"; // ...
来源: Laya_社区 发布时间: 20211013
...行时库版本。 代码动态添加的示例如下: const { regClass, property } = Laya; @regClass() export class Demo extends Laya.Script { spine: Laya.Spine2DRenderNode; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { // ...
来源: Laya3.0_文档 发布时间: 20260131
... 救命!canvas定位后 点击区域偏移,求大大们解答 红米K20pro 多个手指同时按下就会报这个错 object has in SimpleSingletonList 求指点3d射线碰撞和UI点击穿透的问题 关于遍历产生的sprite的点击事件,急,大神帮看哈 问题状态 最新活动: ...
来源: Laya_社区 发布时间: 20180722
... function (url: string, closeOther?: boolean, param?: any, complete?: any, progress?: any): Promise<Laya.Scene> { if (typeof (complete) === "function") { progress = complete; complete = null; } if (typeof (param) === "function") complete = param; if (progress instanceof Handler) { let h = prog...
来源: Laya_社区 发布时间: 20250609