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

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

691. laya.ui.WXOpenDataViewer_API3.0 [ 61%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scro...

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

692. HIERARCHY_LOADED函数不回调 [ 61%]

HIERARCHY_LOADED函数不回调 this.sceneP = Laya.stage.addChild(Laya.Scene.load(name)) as Laya.Sprite3D; //this.sceneP.transform.setTranslate(500,500); this.sceneP.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); this.sceneP.transform.localScale = new Vector3(3, 3...

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

693. 为什么会出现报错 ani not found:ufo1_down [ 61%]

...动的悲剧 this.bg = new BackGround(); // 把背景添加到舞台 Laya.stage.addChild(this.bg); // 加载图集资源 Laya.loader.load("res/atlas/war.json",Laya.Handler.create(this,onLoaded),null,Laya.Loader.ATLAS); })(); function onLoaded(){ // 创建一个主角 this.hero = new Role(); // 初...

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

694. laya.d3.core.scene.Scene [ 61%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node  enableDepthFog : BooleanScene  enableFog : Boolean 获取是否允许雾化。 Scene  enableLight : Boolean = true 是否启用灯光。Scene filt...

来源: laya_api 发布时间: 20170929

695. 按钮失效,同UI里的一个图片超链接点击后再返回,出现按钮失效。 [ 61%]

...nt.CLICK,null,function(){ //TO GamePage2 console.log("left onclick"); Laya.stage.addChild(new GameView); });  //分享快乐 this.StartRight.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(href); });  //天猫Logo this.img_TianMao.on(Laya.Event.CLICK,null,function(){ //超链接 onLink(hre...

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

696. 微信飞机大战报错 [ 61%]

...停,点击任意地方恢复游戏";         pause();         Laya.stage.once(Laya.Event.CLICK, this, this.onStageClick);     }     _proto.onStageClick = function(){         this.infoLabel.text = "";         resume();     }     _proto.hp = function(value){         this.hp...

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

697. laya.ui.Panel_API3.0 [ 61%]

...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize elasticEnabled filters globalRotation globalScaleX globalScaleY graphics gray hScrollBar hScrollBarSkin height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivot...

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

698. 键盘事件监听时间间隔问题 [ 61%]

...面间隔就正常,这是什么问题要如何解决呢?谢谢! Laya.stage.on(Event.KEY_DOWN, this, this.onKeyDown);   // 回调时间时隔 move right1: characterX: 200, currTime: 1486458463.82 move right1: characterX: 204, currTime: 1486458464.338 move right1: characterX: 208, currTime: 148...

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

699. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 61%]

...展示界面    Laya.init(scronw, scronh) //设置舞台背景色 Laya.stage.bgColor = '#999999'; //设置适配模式     Laya.stage.scaleMode = "exactfit";     // 无加载失败重试     Laya.loader.retryNum = 0; //加载的数据信息 https://layaair.ldc.layabox.co ... oader var...

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

700. laya.ui.Dialog [ 61%]

...读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Number[read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以...

来源: Laya2.0_api 发布时间: 20190513