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

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

501. 关于Sprite回收 [ 77%]

...           item.removeSelf();                 item.visible = true;                 Pool.recover("item", item);                 item.graphics.clear();             }    item的父容器是通过回收池获取的,父容器带有原来的item,现在希望删掉...

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

502. laya.d3.core.pixelLine.PixelLineSprite3D [ 77%]

...包含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = true):void[override] 销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事...

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

503. Unity插件与LAYAAIR加载的天空盒子BUG与修改方法 [ 77%]

...下修改 "front":"../sky.png",     "params":{         "mipmap":true,         "filterMode":1,         "wrapModeU":0,         "wrapModeV":0,         "anisoLevel":1,         "format":0     },     "back":"../sky 1.png",     "params":{         "mipma...

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

504. 官方能不能优化一下TS的编译速度 [ 77%]

...NE 微信 15068753667 赞同来自: tsconfig.json内增加 "skipLibCheck": true 能够快个一些,但还是要1秒左右。如果你想要实现秒编译,也是可以的,后面我会出攻略。加QQ61496426详细聊。 { "compilerOptions": { "module": "commonjs", "target": "es5", "sourceMap"...

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

505. laya.display.Stage [ 77%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的混合模...

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

506. 分享一个TS版本的斗地主客户端 [ 77%]

...端有个小问题,Room.ts 140行,game.roomView.outYes.visible应该=true   //如果是我,展示出牌与不出牌框             if (seat == this.myInfo.seat) {                 this.canSelect = true;                 // game.roomView.outYes.visible...

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

507. 获取index.html中的值 [ 77%]

...p-capable' content='yes' />     <meta name='full-screen' content='true' />     <meta name='screen-orientation' content='portrait' />     <meta name='x5-fullscreen' content='true' />     <meta name='360-fullscreen' content='true' />     <meta http-equiv='e...

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

508. laya.net.LoaderManager_API3.0 [ 77%]

...资源会保留资源路径"?"后的部分。 如果url为数组,返回true;否则返回指定的资源类对象,可以通过侦听此对象的 Event.LOADED 事件来判断资源是否已经加载完毕。 注意:cache参数只能对文件后缀为atlas的资源进行缓存控制,其他资...

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

509. [LayaAir3]微信高性能+模式适配bug [ 77%]

...ug 源码TextRender文件构造函数里面设置了TextRender.isWan1Wan = true。 微信适配"iOSHighPerformance+": true模式,如果游戏强制把源码改成false,效果和性能有没有什么影响? 附件 : --> 2024-06-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

510. Laya2.5 材质Material类的光照开关属性没有解析BUG [ 77%]

...  bulletbox laya.d3.js 材质属性未处理: enableLighting  ==>  true   在解析材质信息时,发现有 name 和 enableLighting 属性并未赋值。 所以,不管你在U3D中把材质的灯光true开或false关,导出后在引擎中它始终都是默认值true。  另外,这...

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