大约有 828 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
Laya_社区(538) Laya2.0_文档(154) Laya_示例(51) Laya2.0_示例(43) Laya3.0_api(23) Laya3.0_文档(17) laya_api(1) Laya2.0_api(1)
...en/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //记载场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //加载相机 var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(...
来源: Laya2.0_文档 发布时间: 20210714
...细区别是什么? 斜角透视的感觉怎么弄出来呀?? Laya.Handler.create和new Laya.Handler有啥区别 HttpRequest感觉没有发成功 text组件在native2.0上运行会报错 问一下使用AnimationPlayer播放龙骨动画的时候,播放速率和播放时长区别 layabox2d例...
来源: Laya_社区 发布时间: 20170117
...his.setTo is not a function(function () { const Loader = Laya.Loader const Handler = Laya.Handler (function () { Laya.init(1136,640) Laya.stage.bgColor="#fff" Laya.loader.load('./../bin/res/atlas/res.atlas', Handler.create(this, onLoaded)) })() function onLoaded() { var cMask = new maskDemoUI() Laya...
来源: Laya_社区 发布时间: 20180810
...,我用ts编写的相关内容,都要使用import和export吗? Laya.Handler.create和new Laya.Handler有啥区别 如何不用遮罩显示圆形微信头像,不用是因为遮罩在微信小游戏中失效 dispone和destory的区别 Dialog和View用destroy和Laya.stage.removeChild有什么...
来源: Laya_社区 发布时间: 20171101
...ya.loader.create("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, this.onComplete)); } //完成回调 onComplete() { //获取资源 var layaMonkey = this.scene.addChild(Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); //克隆sprite3d var layaMo...
来源: Laya2.0_文档 发布时间: 20210714
...谢import test = ui.test.TestPageUI; import Label = laya.ui.Label; import Handler = laya.utils.Handler; import Loader = laya.net.Loader; class TestUI extends ui.test.TestPageUI { constructor() { super(); var btn1=new ui.test.view_btnUI(); var btn1_btn:laya.ui.Button=btn1.getChildByName("btn") as lay...
来源: Laya_社区 发布时间: 20170725
...区别是什么? LayaAir 3D 有提供 3D 物理引擎功能吗? Laya.Handler.create和new Laya.Handler有啥区别 layabox打包app LayaAir怎么和FairyGUI整合 Dialog和View用destroy和Laya.stage.removeChild有什么区别? LayaAir Run 或者代码 显示的模型只有绿色 问题状态 ...
来源: Laya_社区 发布时间: 20180609
...以避免因对象重用而引发的问题。此外,新系统不再使用Handler,从而杜绝了Handler重用带来的混乱。同时,改进后的Tween系统支持更丰富的选项以及串行和并行任务功能,为开发者提供更灵活强大的工具来实现理想的动画效果。 ...
来源: Laya3.0_文档 发布时间: 20251010
...ion;Laya.Tween.to(box.potOld,{ x:1 ,y:2 ,update:new Laya.Handler(box,function(){ this.transform.position = this.potOld; }) }, ConstValue.animationTime,Laya.Ease.elasticOut,Laya.Handler.create(this, function(){ console.log("complete"); }),ConstValue.animation...
来源: Laya_社区 发布时间: 20180112
...head3.png 放置资源目录下 获取texture Laya.loader.load('head3.png',Handler.create(this,onTextureLoaded)); } private var texture:Texture; private function onTextureLoaded():void { texture=Loader.getRes('head3.png'); }整体代码如下package { import laya.ani.bone.Skeleton; import laya.ani.b...
来源: Laya_社区 发布时间: 20170324