大约有 4,034 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0079 秒)
Laya_社区(3264) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(107) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...uojianfei 赞同来自: pc测试啊,一个按钮注册两次必现啊 this.sureBtn.on("click",this,this.onSurebtn); this.sureBtn.on("click",this,this.enterGame); 都会执行啊 2017-04-11 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发...
来源: Laya_社区 发布时间: 20170411
...esult=new Laya.HitResult() physics:Laya.PhysicsSimulation; onAwake():void{ this.camera = this.owner.getChildByName("Main Camera") as Laya.Camera; let scene: Laya.Scene3D = this.owner.scene as Laya.Scene3D; this.physics=scene.physicsSimulation; console.log("相机位置",(this.owner.getChild...
来源: Laya_社区 发布时间: 20190621
...; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Handler.create(this, setup)); })(); function setup() { createApe(); applayFilter(); } function createApe() { ape = new Sprite(); ape.loadImage(apePath); var texture = Laya.loader.getRes(apePath); ape.x = (Laya.stage.width - texture.width) /...
来源: Laya_示例 发布时间: 20250224
...发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); this.specularMapUrl = ["../../res/threeDimen/skinModel/dude/Assets/dude/headS.png", "../../res/threeDimen/skinModel/dude/Assets/dude/jacketS.png", "../../res/threeDimen/skinModel/d...
来源: Laya_示例 发布时间: 20250224
...s/ui/listskins/1.jpg"); data.push("../../res/ui/listskins/2.jpg"); } this._ui.serverList.vScrollBarSkin = ""; this._ui.serverList.selectHandler = new Handler(this, this.onSelect); this._ui.serverList.renderHandler = new Handler(this, this.onUpdateItem); //this._ui.serverList.array = this._load...
来源: Laya_社区 发布时间: 20170924
...); //设置单例的引用方式,方便其他类引用 GameUI.instance = this; //关闭多点触控,否则就无敌了 Laya.MouseManager.multiTouchEnabled = false; //加载场景文件 this.loadScene("test/TestScene.scene"); } onEnable() { this.loadActor(this.actor1,"comp/r_01_...
来源: Laya_社区 发布时间: 20190730
...pleteCaller:any,completeFun:Function):void { this.m_spineCopmleteFun = completeFun; this.m_completeCaller = completeCaller; this.m_curLoadingUrl = url; if(this.isLoaded(url) == false) { ...
来源: Laya_社区 发布时间: 20170801
...kinModel/Zombie/new/Zombie.lh")); zombie.once(Laya.Event.HIERARCHY_LOADED, this, function () { //获取Animator动画组件 zombieAnimator = zombie.getChildAt(0).getComponentByType(Laya.Animator); loadUI(); }); function loadUI() { var clipName = ["walk","attack","left_fall","right_fall","back_fall"]...
来源: Laya_示例 发布时间: 20250224
...question/4150, 我测试了下 自从1.7.13之后 截屏功能就跪了 this.road.drawToCanvas(this.road.width,this.road.picHeight,0,0); 要改成 this.road.drawToCanvas(this.road.width,this.road.picHeight);或者 this.road.drawToCanvas(this.road.width,this.road.picHeight,this.road.x,this.road....
来源: Laya_社区 发布时间: 20180711
...发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); this.rotation = new Laya.Vector3(0, 0.01, 0); this.normalMapUrl = ["../../res/threeDimen/staticModel/lizardCal/rock_norm.png", "../../res/threeDimen/staticModel/lizardCal/lizard_norm.png", "../../res/threeDimen/staticModel/liz...
来源: Laya_示例 发布时间: 20250224