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

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

771. zip更新模式缓存是怎么读取的?? [ 51%]

...因为在实际使用的时候还是会下载 * 'unknownError' * @param {function(localfile:string):void} onEnd 更新完成的回调 */ window['updateByZip'] =function(url, onEvent, onEnd){ let cachePath = conch.getCachePath(); let localfile = cachePath+url.substr(url.lastIndexOf('/')); /** * 下...

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

772. laya.ui.HSlider_API3.0 [ 51%]

...andler; public class HSlider_Example { private var hSlider:HSlider; public function HSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handl...

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

773. laya.ui.VSlider_API3.0 [ 51%]

...andler; public class VSlider_Example { private var vSlider:VSlider; public function VSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handl...

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

774. 加载.atlas动画错误 [ 51%]

...s("http://10.10.20.58/chicken/res ... ot%3B,laya.utils.Handler.create(this,function(){ //添加到舞台 Laya.stage.addChild(roleAni); roleAni.play(); }));     代码就这几行.... 2018-03-22 0 0 分享 微博 QZONE 微信 wdmingzi2 赞同来自: 只是单纯的调用加载接口  然后就加...

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

775. laya.ui.Clip_API3.0 [ 51%]

...rt laya.ui.Clip; public class Clip_Example { private var clip:Clip; public function Clip_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { clip = new Clip("resource/ui/clip_num.pn...

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

776. laya.renders.Render_API3.0 [ 51%]

...structors constructor Properties _Render _customRequestAnimationFrame _loopFunction is3DMode Accessors canvas context customRenderEngine Methods initRender customRequestAnimationFrame vsyncTime Constructors constructor new Render(width: number, height: number, mainCanv: HTMLCanvas): Render Defined i...

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

777. laya.d3.core.scene.Scene3D_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

778. laya.ui.ViewStack_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

779. laya.ui.AdvImage_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 发布时间: 20231102

780. layabox AS3调用JS的示例有吗?(谢谢)。如果没有麻烦指点一二。求助。 [ 51%]

... 2017-04-17 0 1 分享 微博 QZONE 微信 debuggerx 赞同来自: private function initCannon():void { var CANNON:Object = Browser.window.CANNON; world = new CANNON.World(); world.gravity.set(0, 0, -9.8); // 设置碰撞检测类型 world.broadphase = new CANNON.NaiveBroadphase(); var groundShape:O...

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