大约有 1,301 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0055 秒)
Laya_社区(739) Laya2.0_文档(164) Laya3.0_api(108) Laya2.0_示例(81) Laya_示例(70) Laya2.0_api(58) laya_api(54) Laya3.0_文档(27)
...ctor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = new Laya.Handler(this, this.onMouse) } onOpened(param: any) { sup...
来源: Laya_社区 发布时间: 20171202
...======= function playbgm() { SoundManager.playMusic("comp/bgm.mp3", 1, new Handler(this, bgmComplete)); } function bgmComplete() { console.log("播放完成"); } 附件 : --> 2018-03-06 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20180306
...ctor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Handler(this, this.updateItem); this.list_rule.scrollBar.changeHandler = new Laya.Handler(this, this.onChange) this.list_rule.mouseHandler = new Laya.Handler(this, this.onMouse) } onOpened(param: any) { sup...
来源: Laya_社区 发布时间: 20181112
... Laya.Scene3D; Laya.Sprite3D.load("Models/Ball.lh", Laya.Handler.create(this, function(sp){ for(var i=0; i<3; i++){ var ball = myscene.addChild(sp.clone()); ball.name = i.toString();...
来源: Laya_社区 发布时间: 20200723
... true; list.itemRender = BagItem; list.renderHandler = new Handler(this, this.updateListItem); list.selectHandler = new Handler(this, this.onSelect); this.addChild(list); list.array = data; } ...
来源: Laya_社区 发布时间: 20170310
...", clas: Laya.Sprite3D, priority: 1 } ]; Laya.loader.create(resource, Laya.Handler.create(this, onLoadFinish)); function onLoadFinish() { this.scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/ColliderScene/ColliderDemo.ls")); //初始化照相机 this.camera = this.scene.addCh...
来源: Laya_示例 发布时间: 20251209
...//加载一个json和图集 Laya.loader.load(["res/atlas/test.atlas"],Laya.Handler.create(null,function(){ //加载完成 //使用接口将图集透传到子域 Laya.MiniAdpter.sendAtlasToOpenDataContext("res/atlas/test.atlas"); }));子域main.ts: import GameConfig from "./GameConfig"; import BigRan...
来源: Laya_社区 发布时间: 20200314
...问题,我大致复盘一下。 版本A: 1. new sk();sk.load("xx.sk",handler()); 2.销毁直接使用sk.destroy();sk=null; 这时在chorme上就能看到有内存泄漏,会多出来一个templet类型的数据,和官方大佬沟通之后产生了版本B。 版本B:1.new templet();tem...
来源: Laya_社区 发布时间: 20201030
... Laya.Tween.to(this.obj,{scaleY:1,scaleX:1},10,Laya.Ease.backIn,Laya.Handler.create(this,this.backEdHd)); } this.init = function(){ Laya.Tween.to(this.obj,{scaleY:1.05,scaleX:1.05},100,Laya.Ease.backOut,Laya.Handler.create(this,this.clickEnd)); ...
来源: Laya_社区 发布时间: 20170301
...{ import laya.display.Stage; import laya.ui.ProgressBar; import laya.utils.Handler; import laya.webgl.WebGL; public class UI_ProgressBar { private var progressBar:ProgressBar; public function UI_ProgressBar() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居...
来源: Laya2.0_文档 发布时间: 20210715