大约有 1,499 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
... 提交 3 个回复 牛唠叨 赞同来自: 就是写IDE的代码写成了 if(!minHorizontalStartValue) minHorizontalStartValue = 默认值 刚好 minHorizontalStartValue = 0 的时候判断也成立 2019-12-24 0 0 分享 微博 QZONE 微信 牛唠叨 赞同来自: 请问一下,引擎组老...
来源: Laya_社区 发布时间: 20191224
...scene.physicsSimulation.rayCast(ray,outHitResult); //如果碰撞到物体 if (outHitResult.succeeded) { } }} 求问哪里语法错了 附件 : --> 2020-08-01 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_...
来源: Laya_社区 发布时间: 20200801
...电脑上运行正常,打包APK后到手机上运行,描点未生效 if(anin==null)anin=new Animation(); anin.loadAtlas(url,Handler.create(this,onloaded),url); anin.autoSize=true; anin.autoPlay=false; anin.interval=interval; private function onloaded():void { anin.pivotX=anin.getBounds().widt...
来源: Laya_社区 发布时间: 20180806
...存在的,puremvc一直未被定义,需要把puremvc绑定到window上 if( typeof define === "function" ) { define( "puremvc", [], function() { var puremvc; (function (puremvc) { "use strict"; //... })(puremvc || (puremvc = {})); }) } //修改为: var puremvc=window.puremvc||(w...
来源: Laya_社区 发布时间: 20190426
... but.stateNum = 2; if ((i+1)%2 == 0) { but.pos(83, 370 + (i + 1) / 2 * but.height + (i + 1) / 2 * 8); }else { but.pos(245,370 + (i + 1) / 2 * but....
来源: Laya_社区 发布时间: 20170320
...*197 • 2022-05-09 15:52 牛啊,终于解决了,官方demo上可以用if webgl 来把这个加上,不然只有之前那个,锯齿很严重没法用啊
来源: Laya_社区 发布时间: 20220509
...r planeMat: Laya.StandardMaterial = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var boxCollider = plane.addComponent(Laya.BoxCollide...
来源: Laya_社区 发布时间: 20180820
...: 2017-11-08 0 0 分享 微博 QZONE 微信 oopenoo 赞同来自: /*[IF-FLASH]*/ flash.ui.Mouse.hide();file: 'file:///d%3A/dev/h5prj_ex/myLaya7_as/libs/laya/src/laya/utils/Mouse.as' severity: '错误' message: '所访问的属性 Mouse 可能未定义。' at: '47,4' 2017-11-08 0 0 分享 微...
来源: Laya_社区 发布时间: 20171108
...ata = vector3s[k]; if(k=="gravity"){continue} vec3.setValue(vec3Data[0], vec3Data[1], vec3Data[2]); module[k] = vec3; } break; 后面希望开发组看一下这个问题的出处,及时解决 附件 : --> 2...
来源: Laya_社区 发布时间: 20200311
...void { _worldRoot = value; if (value) { //TODO: var p:Point = value.localToGlobal(Point.TEMP.setTo(0, 0)); world.ShiftOrigin({x: p.x / PIXEL_RATIO, y: p.y...
来源: Laya_社区 发布时间: 20181122