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

大约有 698 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0067 秒)

461. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 42%]

...这个回调方法,那么就需要对`Laya.Hanlder.create()`方法中的`once`参数设置为`false`。或者用`new Laya.Handler()`的方式创建。 例如,我们需要在游戏开始界面中加载资源,需要对加载资源的进度进行显示,下面的编码为就是错误的。 1. `L...

来源: Laya2.0_文档 发布时间: 20210715

462. laya.map.TileAniSprite_API3.0 [ 42%]

...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform ...

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

463. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 41%]

...这个回调方法,那么就需要对`Laya.Hanlder.create()`方法中的`once`参数设置为`false`。或者用`new Laya.Handler()`的方式创建。 例如,我们需要在游戏开始界面中加载资源,需要对加载资源的进度进行显示,下面的编码为就是错误的。 1. `L...

来源: Laya2.0_文档 发布时间: 20210715

464. laya.particle.Particle2D_API3.0 [ 41%]

...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform ...

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

465. laya.media.SoundNode_API3.0 [ 41%]

...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform ...

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

466. laya.map.GridSprite_API3.0 [ 41%]

...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform ...

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

467. laya.display.Sprite_API3.0 [ 41%]

.../将此 sprite 对象添加到显示列表。 sprite.on(Event.CLICK, this, onClickSprite);//给 sprite 对象添加点击事件侦听。 shape = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 shape.graphics.drawRect(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有边框...

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

468. laya.utils.TimeLine [ 41%]

...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...

来源: laya_api 发布时间: 20170929

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

...ar scene = 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:加载完看官方的...

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

470. laya.map.MapLayer_API3.0 [ 41%]

...oyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getDrawSprite getGraphicBounds getLayerProperties getMousePoint getObjectByName getObjectDataByName getRepaint getScreenPositio...

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