大约有 432 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0049 秒)
Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya_社区(53) Laya2.0_示例(8) Laya_示例(7) Laya2.0_文档(6) Laya3.0_文档(5)
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115
...ties | Methods Packagelaya.deviceClasspublic class ShakeInheritanceShake EventDispatcher Object Shake只能在支持此操作的设备上有效。 Public Properties PropertyDefined By instance : Shake[static] [read-only] ShakePublic Methods Hide Inherited Public Methods Show Inherited Public M...
来源: Laya2.0_api 发布时间: 20190513
...何让一个点击事件执行完立即移除 Laya.sg_paiui.zybut2.on(Laya.Event.CLICK,this,function(th,e){ Laya.sg_paiui.zybut1.visible = false; }) 比如说这个事件 如何让他执行完立即移除 2017-10-11 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20171011
...rties | Methods Packagelaya.mediaClasspublic class SoundInheritanceSound EventDispatcher Object Sound 类是用来播放控制声音的类。 Public Properties PropertyDefined By duration : Number[read-only] 获取总时间。 SoundPublic Methods Hide Inherited Public Methods Show Inherited Pu...
来源: laya_api 发布时间: 20170929
...asses | Index | Frames No Frames LoaderManagerProperties | Methods | Events Packagelaya.netClasspublic class LoaderManagerInheritanceLoaderManager EventDispatcher Object LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访...
来源: laya_api 发布时间: 20170929
...需要再添加下面代码所示的右键Up监听: this.owner.on(Laya.Event.RIGHT_MOUSE_UP, this, this.onRightMouseUp); 2025-02-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 仓颉 相关问题 TextInput重写onFocus和onBlur事...
来源: Laya_社区 发布时间: 20250220
...示ExpandPage界面)package game { import laya.display.Sprite; import laya.events.Event; public class Btn { private var _owner:Sprite; private var _isScal:Boolean; public function Btn() { trace("btn的附加类已经开始执行"); } //设置owner函数,可以直接获取到Button组件的实例 p...
来源: Laya_社区 发布时间: 20161014
...; a.pos(200, 200); a.mouseEnabled = true; a.mouseThrough = true; a.on(Laya.Event.MOUSE_DOWN, null, function (e: Laya.Event): void { console.log("touch a"); } 因为需要将mouseThrough=true才可以,蛋疼的api描叙你能相信是这个熟悉么? “mouseThrough : Boolean = false,指...
来源: Laya_社区 发布时间: 20161109
...rties | Methods Packagelaya.mediaClasspublic class SoundInheritanceSound EventDispatcher Object Sound 类是用来播放控制声音的类。 引擎默认有两套声音方案,优先使用WebAudio播放声音,如果WebAudio不可用,则用H5Audio播放,H5Audio在部分机器上有兼容问...
来源: Laya2.0_api 发布时间: 20190513
...tCreateURL _setGPUMemory addDefine clone cloneTo destroy effectiveProperty event getBool getBoolByIndex getBuffer getBufferByIndex getColor getColorByIndex getFloat getFloatByIndex getInt getIntByIndex getMatrix4x4 getMatrix4x4ByIndex getShaderData getShaderDataByIndex getShaderPropertyValue getText...
来源: Laya3.0_api 发布时间: 20231115