大约有 703 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(290) Laya3.0_api(156) laya_api(106) Laya2.0_api(98) Laya2.0_文档(24) Laya_示例(16) Laya3.0_文档(9) Laya2.0_示例(4)
...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
.../将此 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
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: laya_api 发布时间: 20170929
...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
...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
...事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...ose doOpen drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getDialogsByGroup getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_sca...
来源: Laya3.0_api 发布时间: 20231115
...发这个回调方法,那么就需要对`Hanlder.create()`方法中的`once`参数设置为`false`。或者用`new Handler()`的方式创建。 例如,我们需要在游戏开始界面中加载资源,需要对加载资源的进度进行显示,下面的编码为就是错误的。 ```javascrip...
来源: Laya2.0_文档 发布时间: 20210715
...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
...的链接 提交 4 个回复 cuixueying 赞同来自: peterz3g Laya.timer.once(500,this,this.onLoopOnce); } private onLoopOnce():void { this.mypan.vScrollBar.on(Laya.Event.CHANGE, this, this.fitDOMElements_scroll); }加个延迟再看下! 2017-07-20 1 1 分享 微博 QZONE 微信 peterz3g 赞同...
来源: Laya_社区 发布时间: 20170720