大约有 2,514 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0106 秒)
...一个简单的场景 如果我旋转图中 方框指示的sprite3d的rotation,会导致子物体TargetGuard的transform.position不正确,好像子节点属于的坐标系变动了? 比如说,绳子不旋转的时候,我在代码中动下面圆盘的transform.positionthis.block = s.get...
来源: Laya_社区 发布时间: 20171228
.../threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", type: Laya3D.HIERARCHY, priority: 1}]; //Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); Laya.loader.create("Export/LayaScene_JJF/Conventional/JJF.lh", Laya.Handler.create(this, this.onComplete)); ...
来源: Laya_社区 发布时间: 20190531
...有如下几处: 1、在第8行下面添加对 laya.net.ResourceVersion 的引用: var ResourceVersion = laya.net.ResourceVersion; 2、第330-336行,将 MiniFileMgr.isLocalNativeFile=function(url){ for(var i=0,sz=MiniAdpter.nativefiles.length;i<sz;i++){ if(url.indexOf(MiniAdpter.nativ...
来源: Laya_社区 发布时间: 20181212
...s, (data: any) => { this.playerScript.move(data.direction, data.force); }); this.joystickScript.owner.on(Joystick.END, this, () => { this.playerScript.stop(); }); // 可视化边界 this.visuali...
来源: Laya_社区 发布时间: 20251125
...;>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:stopBackgroundMusic 05-17 17:12:40.307 13946-13946/com.wesai.doudizhu E/LayaBox: >>>>>>>>>>>>before 05-17 17:12:40.307 13946-13946/com.wesai.doudizhu E/LayaBox: >>...
来源: Laya_社区 发布时间: 20170517
...34 × 750 。 1.2 缩放因子与逻辑分辨率 1.2.1 缩放因子 起源 iOS绘制图形是以 point (pt)为单位,在早期的时候1 point=1 pixel。在2010年推出的iPhone4 开始采用 Retina(视网膜) 屏幕显示技术 ,物理分辨率提升了4倍,此时,如果iPhone4 还是1...
来源: Laya3.0_文档 发布时间: 20251010
...ight.pos(20, g_stat_heiht - 35); copyright.on(Laya.Event.CLICK, this, function() { window.location.href = "http://www.coderluan.com"; }); Laya.stage.addChild(copyright); 3.设置积分板和开始菜单 右下弄了个“点击开始游戏”的文本,点击只会游戏开始,这个文本会变...
来源: Laya_社区 发布时间: 20160623
...Update(T_ShurikenUpdate)9. physics 3D(3D 物理)9.1 Physics Simulation(T_Physics_Simulation)9.2 Physics Update Node(T_Physics_UpdateNode)9.3 Physics Event(T_PhysicsEvent)9.4 Physics Event Count(C_PhysicsEventCount)9.5 Physics Collider(T_PhysicsCollider)9.6 Physics Trigger...
来源: Laya3.0_文档 发布时间: 20260128
... #### 1.2 缩放因子与逻辑分辨率 ##### 1.2.1 缩放因子 起源 iOS绘制图形是以 point (pt)为单位,在早期的时候`1 point=1 pixel`。在2010年推出的iPhone4开始采用 Retina(视网膜) 屏幕显示技术 ,物理分辨率提升了4倍,此时,如果iPhone4还是`1p...
来源: Laya2.0_文档 发布时间: 20210715
打包成APK运行一半崩溃 http://ask.layabox.com/question/3930 我试过了把声音屏蔽掉,只要动画播放一多,就会崩溃掉,我的动画都是图集播放,同时播放多个,在浏览器测试是没有问题的,不管是收集还是PC端都没有问题,但是打成APK...
来源: Laya_社区 发布时间: 20170411