大约有 538 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0043 秒)
Laya_社区(426) Laya2.0_文档(37) Laya3.0_文档(22) Laya2.0_示例(12) Laya_示例(11) laya_api(11) Laya3.0_api(10) Laya2.0_api(9)
2.0版本,Particle2D is not a constructor export default class RunMain extends Laya.Sprite{ constructor(){ super(); Laya.loader.load([{url:"res/213.part",type:Laya.Loader.JSON}],Laya.Handler.create(this,this.onAssetsLoaded)); } onAssetsLoaded(){ let pg = Laya.loader.getRes("res/213.part"); let pd...
来源: Laya_社区 发布时间: 20181120
API DocumentationAll Packages | All Classes | Index | Frames No Frames ResourceVersionProperties | Methods | Constants Packagelaya.netClasspublic class ResourceVersionInheritanceResourceVersion Object 资源版本的生成由layacmd或IDE完成,使用 ResourceVersion 简化使用过程...
来源: Laya2.0_api 发布时间: 20190513
... Externals Only exported Menu Globals "laya/net/LocalStorage" LocalStorage Class LocalStorage LocalStorage 类用于没有时间限制的数据存储。 Hierarchy LocalStorage Index Properties _baseClass items support Methods clear getItem getJSON removeItem setItem setJSON Properties Static _baseCl...
来源: Laya3.0_api 发布时间: 20231115
... at java.lang.Class.getMethod(Class.java:664) at java.lang.Class.getMethod(Class.java:643) ...
来源: Laya_社区 发布时间: 20171214
...单的3个类,内部没有任何实现,继承关系分别为如下: class V extends Laya.Sprite {} class W extends V {} class L extends W {} 编译后的index.html中,引入顺序错误,如下: <!--jsfile--startTag--> <script src="js/W.js"></script> ...
来源: Laya_社区 发布时间: 20181030
... QZONE 微信 张佩斌 赞同来自: 同一个bundle.js里面,有一个class Main 还有一个class Main$1 执行了一次Main,还执行了一次Main$1 , 是怎么回事呢 怎么生成的两个 2019-12-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...
来源: Laya_社区 发布时间: 20181026
...tOS(); var bridge; var obj = {}; if (os == "Conch-ios") { bridge = PlatformClass.createClass("JSBridge");//创建脚步代理 } else if (os == "Conch-android") { //需要完整的类路径,注意与iOS的不同 bridge = PlatformClass.createClass("demo.JSBridge");//创建脚步代理 } if (os == "C...
来源: Laya2.0_文档 发布时间: 20210714
...!'; } 一个是src/Library/ToolService.ts, 内容为module Library{ export class ToolService{ constructor(){ } public static sum(a:number, b:number):number { return a + b; } } } 一个是 src/Library/UserService.ts, 内容为module Library{ export class UserService{ constructor(){ } public multip...
来源: Laya_社区 发布时间: 20181214
...将const删掉。 因为const的存在,编译器认为你声明了 const class class是关键字。 2019-10-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 138*****275 相关问题 Layabox 2.0 bate5 运行编译之后 bundle.js 文...
来源: Laya_社区 发布时间: 20191023
...; this._setIndexHandler=Handler.create(this,this.setIndex,null,false); } __class(ViewStack,'laya.ui.ViewStack',_super); 1. ViewStack.__super.call(this); 2. __class(ViewStack,'laya.ui.ViewStack',_super); 这两句代码是什么意思 2018-03-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20180313