大约有 1,215 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0064 秒)
Laya_社区(675) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(63) Laya2.0_示例(44) Laya_示例(42) Laya3.0_文档(38)
...15952728807 • 2017-12-05 15:44 (function() { var Stage = Laya.Stage; var Event = Laya.Event; var TiledMap = Laya.TiledMap; var Rectangle = Laya.Rectangle; var Browser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var WebGL = Laya.WebGL; var tiledMap; var mLastMouseX = 0; var mL...
来源: Laya_社区 发布时间: 20171205
...ce _setCPUMemory _setCreateURL _setGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new PrefabImpl(api: IHierarchyParserAPI, data: any, version: number): PrefabImpl Overrides Prefab.constructor D...
来源: Laya3.0_api 发布时间: 20231115
...eReference _setCPUMemory _setCreateURL _setGPUMemory clone cloneTo destroy event hasListener isCreateFromURL off offAll offAllCaller on once _parse destroyUnusedResources load Constructors constructor new Avatar(): Avatar Overrides Resource.__constructor Defined in laya/d3/core/Avatar.ts:45 创建...
来源: Laya3.0_api 发布时间: 20231102
...alDialog: NormalDialog; constructor() { super(); this.btn_signin.on(Laya.Event.CLICK, null, () => { this.showDialog("登录成功") }); this.btn_register.on(Laya.Event.CLICK, null, () => { this.showDialog("注册功能暂未开放") }); } showDialog(context: string) { // if (this.normalD...
来源: Laya_社区 发布时间: 20181216
...类,请通过Laya.loader访问。 全部队列加载完成,会派发 Event.COMPLETE 事件;如果队列中任意一个加载失败,会派发 Event.ERROR 事件,事件回调参数值为加载出错的资源地址。 LoaderManager 类提供了以下几种功能: 多线程:默认5个加...
来源: Laya3.0_api 发布时间: 20231102
...: 4 人 linyewen • 2022-02-25 17:45 这么修改也会报错吧,this._events[type]是个数组 linyewen • 2022-02-28 11:05 @linyewen:况且增加的this._events[type]上面不是已经判断过了吗 Laya_Yan • 2022-02-28 11:52 @linyewen:你按照图中还会报错吗?报错的话提供个...
来源: Laya_社区 发布时间: 20220225
...ce _setCPUMemory _setCreateURL _setGPUMemory addDep addDeps create destroy event hasListener isCreateFromURL off offAll offAllCaller on once registerExtra unregisterExtra destroyUnusedResources Constructors constructor new glTFResource(): glTFResource Overrides Prefab.constructor Defined in laya/glt...
来源: Laya3.0_api 发布时间: 20231102
...ference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getVideo hasListener isCreateFromURL off offAll offAllCaller on once setSource create destroyUnusedResources Constructors constructor new HtmlVideo(): HtmlVideo Overrides Bitmap.__constructor Defined in laya/device/medi...
来源: Laya3.0_api 发布时间: 20231102
...。因此实例化socket之后四个事件是我们必须监听的: ``` Event.OPEN :连接正常打开抛出的事件 Event.MESSAGE :接收到消息抛出的事件 Event.CLOSE :socket关闭抛出的事件 Event.ERROR :连接出错抛出的事件 ``` 上面这四个事件是必要的,这也是我...
来源: Laya2.0_文档 发布时间: 20210715
... _parse _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getAniNameByIndex getSkinIndexByName getTexture hasListener isCreateFromURL off offAll offAllCaller on once destroyUnusedResources Constructors constructor new SpineTemplet(): SpineTemplet Overrides Resource.__construct...
来源: Laya3.0_api 发布时间: 20231115