大约有 2,183 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0070 秒)
Laya_社区(2031) laya_api(36) Laya3.0_文档(32) Laya3.0_api(29) Laya2.0_文档(25) Laya2.0_api(20) Laya_示例(5) Laya2.0_示例(5)
...: Sprite 被拖动的对象。DraggingPublic Methods MethodDefined By start(target:Sprite, area:Rectangle, hasInertia:Boolean, elasticDistance:Number, elasticBackTime:int, data:*, disableMouseEvent:Boolean, ratio:Number = 0.92):void 开始拖拽。 Dragging stop():void 停止拖拽。 Draggi...
来源: laya_api 发布时间: 20170422
...通知,此侦听事件响应一次后自动移除。 EventDispatcher start(throushold:int, interval:int):void 开始响应设备摇晃。 Shake stop():void 停止响应设备摇晃。 ShakeProperty Detailinstancepropertyinstance:Shake [read-only] Implementation public static funct...
来源: Laya2.0_api 发布时间: 20190513
....stage.scaleMode = Stage.SCALE_SHOWALL; showShakePic(); showConsoleText(); startShake(); })(); function showShakePic() { var shakePic = new Sprite(); shakePic.loadImage("../../res/inputDevice/shake.png"); Laya.stage.addChild(shakePic); } function showConsoleText() { console = new Text(); Laya.stage....
来源: Laya_示例 发布时间: 20251130
...ove[static] 定义 dragmove 事件对象的 type 属性值。Event DRAG_START : String = dragstart[static] 定义 dragstart 事件对象的 type 属性值。Event EMPTY : Event[static] 一个空的 Event 对象。用于事件派发中转使用。Event END : String = end[static] 定义 end ...
来源: Laya2.0_api 发布时间: 20190513
...e; })(ui.GameUI) var GameUI=(function(_super){ function GameUI(){ this.btn_start=null; this.audio=null; GameUI.__super.call(this); } CLASS$(GameUI,'ui.GameUI',_super); var __proto__=GameUI.prototype; var Mole=(function(){ function Mole(btn_start){ alert(1) }; })() 2018-05-04 添加评论 免费帖 -...
来源: Laya_社区 发布时间: 20180504
...ove[static] 定义 dragmove 事件对象的 type 属性值。Event DRAG_START : String = dragstart[static] 定义 dragstart 事件对象的 type 属性值。Event EMPTY : Event[static] 一个空的 Event 对象。用于事件派发中转使用。Event ENABLE_CHANGED : String = enablechanged...
来源: laya_api 发布时间: 20170929
...age.bgColor = "#232628"; this.showShakePic(); this.showConsoleText(); this.startShake(); } showShakePic() { const Sprite = Laya.Sprite; let shakePic = new Sprite(); shakePic.loadImage("res/inputDevice/shake.png"); Laya.stage.addChild(shakePic); } showConsoleText() { const Text = Laya.Text; console =...
来源: Laya2.0_示例 发布时间: 20251130
...文件时,既不报错,也没有加载完成的回调事件。也就是start load:2之后没有complete:2。 2016-12-19 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 gplzh 相关问题 2.0一不小心删了bin目录下的某个场...
来源: Laya_社区 发布时间: 20161217
...此问题 即使设置了preserveDrawingBuffer=true,也无法解决var start=function(){ Laya.Config.preserveDrawingBuffer=true; Laya.init(innerWidth,innerHeight,Laya.WebGL); Laya.Stat.show(0,0); Laya.stage.frameRate="slow"; Laya.stage.scaleMode=Laya.Stage.SCALE_FULL; Laya.stage.bgColor="#444"; va...
来源: Laya_社区 发布时间: 20200507
...e64Tool 类 看里面方法 public static function encodeByte(byte:ByteEx, start:int = 0, end:int = -1):String { if (end < 0) { end = byte.length; } retu...
来源: Laya_社区 发布时间: 20190117