大约有 911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0079 秒)
...请教下有小伙伴用过闪屏里面onProgress接口嘛(index.html内的function onProgress),我想在闪屏界面加个进度。为什么接口回调的参数progress是从0到0.5啊,我的引擎版本是3.0.0正式版。我现在为了显示0-100这么用这个回调 Math.trunc(progress ...
来源: Laya_社区 发布时间: 20231103
... 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
SoundManager第一次加载播放延迟怎么解决? private function onPlayMusic(e:Event=null):void { trace("播放音乐"); SoundManager.playMusic("../../../../res/sounds/bgm.mp3", 1, new Handler(this, onComplete)); } 以上是官方的例子,但是背景音乐文件比较大的...
来源: Laya_社区 发布时间: 20161130
...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
...。 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
...。 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
...: 打开 WebGLContext2D.as 找到其中的stroke函数 override public function stroke():void { 在最后加上 _renderKey = -1; 如下: 另外你这样做效率太低了,建议用图片,或者用drawRect来做,line是很慢的 2018-04-02 0 1 分享 微博 QZONE 微信 Laya_XS 赞同...
来源: Laya_社区 发布时间: 20180402
...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
...。 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
...。 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