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

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

1291. 淘宝创意互动分包指南(TypeScript-小游戏适配文档-淘宝创意互动) [ 54%]

...者需要自己去加载分包和资源 ``` onConfigLoaded(): void { Laya.stage.on(Laya.Event.CLICK, this, this.toPage2) } toPage2(): void { my.redirectTo({ url: "/subpackage1/page2/index", success: function () { console.log("success") }, fail: function (err) { console.log("2222", err) } }) } ``` ...

来源: Laya2.0_文档 发布时间: 20210715

1292. laya.display.EffectAnimation_API3.0 [ 54%]

...s count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize effectClass effectData filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY p...

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

1293. CheckBox属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 53%]

...WebGL渲染模式 Laya.init(1334,750, WebGL); //设置舞台背景色 Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoad回调方法 Laya.loader.load([skin1,skin2], Handler.create(this, onLoaded)); } private function onLoaded():void { //创建一个CheckBox实例cb1 var cb1:Check...

来源: Laya2.0_文档 发布时间: 20210714

1294. laya加载unity插件导出的场景 physics3D is not a function [ 53%]

...aya.Handler.create(this,function(s:Laya.Scene3D):void{ var scene = s; Laya.stage.addChild(scene); //创建摄像机(横纵比,近距裁剪,远距裁剪) var camera= new Laya.Camera( 0, 0.1, 1000); //加载到场景 scene.addChild(camera); //移动摄像机位置 camera.transform.position=new Lay...

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

1295. 关于panel的scroll怎么修改滚动条的位置及样式 [ 53%]

...list同时滚动一模一样。 如何修改物理引擎中的图层 修改stage的scale后,会发生异常情况 想让一个2D的图形被鼠标点击时缩放一下,或左右摇晃一下,最后回到原大小或原位置,应该用什么缓动模式 将list里的scrollBar设置mouseWheelEn...

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

1296. laya.ani.bone.Skeleton_API3.0 [ 53%]

...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D loop mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY player rotation scaleX scaleY scene scrollRe...

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

1297. PC端改变屏幕尺寸会引起显存泄露 [ 53%]

...) 调用失败,引起底层问题 Laya.init()后,是否还能再次改变stage的宽高 Starling屏幕适配问题 在没有碰撞条件情况下,为何会撞歪物体,导致旋转角度改变? (附源码Laya+Unity) 请问Laya支持什么样的swf,我运行公司美术给的swf,屏幕一片黑...

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

1298. scrollRect 改变后子对象的鼠标事件失效 [ 53%]

...ollRect 改变后子对象的鼠标事件失效 bg=new Laya.Sprite(); Laya.stage.addChild(bg); bg.size(800,600); bg.loadImage("aa_1.Png",0,0,800,600); poly=new Laya.Sprite(); bg.addChild(poly); poly.size(36,36); poly.pivot(18,18); poly.loadImage("SafeExitL.png",0,0,36,36); poly.pos(400,300); poly.on...

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

1299. 骨骼动画的使用(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 53%]

...entional/LayaMonkey.ls",Handler.create(this,function(s:Scene3D):void{ Laya.stage.addChild(s); })); ``` ![](img/6.gif)(图6)

来源: Laya2.0_文档 发布时间: 20210714

1300. [Laya2.3] 天空盒在微信上的显示问题 [ 53%]

...   var sc = Laya.loader.getRes(sceneUrl);             Laya.stage.addChild(sc);          }          Laya.loader.create(sceneUrl,new Laya.Handler(this,completeFunc)); 附件 : --> scene1.zip 2019-10-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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