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

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

1231. Laya3D.init(0, 0, true) 初始化的时候。android端和ios端表现不一样。stage初始化之后stage的宽高在什么时候能获取到准确的值? [ 43%]

...。 每当stage的大小进行变化时,会触发事件。 Laya.stage.on(Event.RESIZE, this, function():void { // To Do - UI.pos });   2017-06-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 sfsmmc 相关问题 Layabox 2.0 bate5 运...

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

1232. videoNode在安卓上不能播放 [ 43%]

...的部分代码:     onAwake(): void {         Laya.stage.on(Laya.Event.MOUSE_DOWN, () => {             Laya.loader.load("resources/916.mp4").then(() => {                 this.play();             });         })     }同时建议您将“项目设置->缩放...

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

1233. 关于laya生成的canvas定位问题导致内部事件不正确 [ 43%]

... img.loadImage('images/item_5.png'); Laya.stage.addChild(img); img.on(Laya.Event.MOUSE_DOWN, img, onStartDrag); function onStartDrag(){ console.log(this); clickIndex++; msgDiv.html('图片选中了' + clickIndex + '次'); // img.startDrag(); } // Laya.stage.alignH = Laya.Stage.ALIGN_CENTER; // Laya....

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

1234. laya.display.Text_API3.0 [ 43%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater changeText clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getCom...

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

1235. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 42%]

...eleton = templet.buildArmature(1); skeleton.pos(400,600); skeleton.on(Laya.Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); var graphic = new Laya.Graphics(); graphic.drawRect(-rectangle.x, -r...

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

1236. android下layabox调用Laya.Texture2D.load报错 [ 40%]

...ev-loca ... 913:61) 02-06 14:59:43.858  6545  6658 I LayaBox :     at EventHandler.__proto.runWith (http://10.0.1.72/game/dev-loca ... 711:59) 02-06 14:59:43.858  6545  6658 I LayaBox :     at ResInfo.__proto.event (http://10.0.1.72/game/dev-loca ... 483:28) 02-06 14:59:43.858  6545  665...

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

1237. unity中的模型导出后在laya中显示不正常 [ 39%]

... Laya.stage.addChild(Laya.Scene.load("res/layaScene.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function (sceneTemp) { var camera = sceneTemp.getChildByName("Main Camera"); camera.transform.translate(new Laya.Vector3(0, 0, 200)); //移动camera });2.问题2:加载完看官方的demo要加...

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

1238. laya.display.Input_API3.0 [ 37%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater changeText clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getCom...

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

1239. laya.ui.TextArea_API3.0 [ 36%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

1240. lib/arm/liblayaair.so 总是崩溃 [ 36%]

...14 10:57:50.024 3526-3928/? D/WifiProJNI: Received kernel message payload: event 0 08-14 10:57:50.025 3526-3928/? I/QosMonitor: postEventFromNative: msg=100,arg1=0,arg2=9 08-14 10:57:50.025 3526-3928/? W/WifiProJNI: poll before: g_monitor_fd =163 08-14 10:57:50.025 3526-3526/? I/MQoS: rtt=440,tcp_tx...

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