• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0079 秒)

751. laya3.0 [场景启动前闪屏] 我想在闪屏界面加个进度但是onProgress接口有问题 [ 52%]

...请教下有小伙伴用过闪屏里面onProgress接口嘛(index.html内的function onProgress),我想在闪屏界面加个进度。为什么接口回调的参数progress是从0到0.5啊,我的引擎版本是3.0.0正式版。我现在为了显示0-100这么用这个回调  Math.trunc(progress ...

来源: Laya_社区 发布时间: 20231103

752. layaair2-cmd compile 编译不了 [ 52%]

...  at process._tickCallback (internal/process/next_tick.js:61:11)     at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)     at startup (internal/bootstrap/node.js:266:19)     at bootstrapNodeJSCore (internal/bootstrap/node.js:596:3) exit:1 请问这个怎么解决。百度...

来源: Laya_社区 发布时间: 20200513

753. SoundManager第一次加载播放延迟怎么解决? [ 52%]

SoundManager第一次加载播放延迟怎么解决? private function onPlayMusic(e:Event=null):void  {    trace("播放音乐");    SoundManager.playMusic("../../../../res/sounds/bgm.mp3", 1, new Handler(this, onComplete)); } 以上是官方的例子,但是背景音乐文件比较大的...

来源: Laya_社区 发布时间: 20161130

754. 粒子编辑器报错 [ 52%]

...y 'addChild' of null TypeError: Cannot read property 'addChild' of null at Function.ViewRenderManager.show (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEditor/h5/layabuilder.max.js:15196:27) at ParticleScene.__proto.show (file:///E:/LayaAirIDE_1.7.10_beta/resources/app/out/vs/layaEdit...

来源: Laya_社区 发布时间: 20170908

755. laya.ui.ScaleBox_API3.0 [ 52%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

来源: Laya3.0_api 发布时间: 20231115

756. laya.ui.Box_API3.0 [ 51%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

来源: Laya3.0_api 发布时间: 20231115

757. webgl graphics 绘制 层级 显示错误 [ 51%]

...: 打开 WebGLContext2D.as 找到其中的stroke函数 override public function stroke():void { 在最后加上 _renderKey = -1; 如下:   另外你这样做效率太低了,建议用图片,或者用drawRect来做,line是很慢的   2018-04-02 0 1 分享 微博 QZONE 微信 Laya_XS 赞同...

来源: Laya_社区 发布时间: 20180402

758. laya.physics.PhysicsDebugDraw_API3.0 [ 51%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

来源: Laya3.0_api 发布时间: 20231115

759. laya.ui.OpenDataContextView_API3.0 [ 51%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

来源: Laya3.0_api 发布时间: 20231115

760. laya.ui.Panel_API3.0 [ 51%]

...。 example private var _testTips:TestTipsUI = new TestTipsUI(); private function testTips():void { //简单鼠标提示 btn2.toolTip = "这里是鼠标提示<b>粗体</b><br>换行"; //自定义的鼠标提示 btn1.toolTip = showTips1; //带参数的自定义鼠标提示 clip.tool...

来源: Laya3.0_api 发布时间: 20231115