大约有 46 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...辑器中种植的树,怎么和代码添加的对象互相影响呢? 2.MapLayer中有函数getObjectByName、getObjectDataByName,都是通过函数来获取对象。能提供遍历对象的方式吗?因为策划在地图中种了很多树,程序并不需要知道每棵树的名字,只要...
来源: Laya_社区 发布时间: 20180601
...6 error - Out of bounds 'releaseTexture' of null TiledMap通过名字获得MapLayer怎么都是Null 问题状态 最新活动: 2016-12-16 23:51 浏览: 1688 关注: 2 人 nieyiwei • 2016-12-17 10:43 这个问题按照我回复的【改过之后】已经解决了,谢谢帮忙解决
来源: Laya_社区 发布时间: 20161216
...置为null zyy • 2021-11-18 15:18 @Laya_Fred:这样会导致 后续的 MapLayer.clearAll 执行 TileAniSprite.clearAll调用 removeAniSprite 清除timer失败 导致内存泄漏 zyy • 2021-11-18 15:18 TileTexSet.removeAniSprite 清除 timer失败 Laya_Fred • 2021-11-18 15:56 tiledmap的您重...
来源: Laya_社区 发布时间: 20211105
... this._aniName = null; } } class MapLayer extends Laya.Sprite { constructor() { super(...arguments); this._mapData = null; this._tileWidthHalf = 0; this._tileHeightHalf = 0; ...
来源: Laya_社区 发布时间: 20220627
...ayoutSubclasses AnimationPlayerBase, Component, DialogManager, GridSprite, MapLayer, MovieClip, Particle2D, Scene, Skeleton, Stage, Text, TileAniSprite, Video Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘...
来源: laya_api 发布时间: 20170929
...ionBase Scene Scene3D SoundNode VideoNode Skeleton MovieClip TileAniSprite MapLayer GridSprite Particle2D PhysicsDebugDraw SpineSkeleton UIComponent DialogManager Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawto...
来源: Laya3.0_api 发布时间: 20231115