大约有 1,546 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0062 秒)
Laya_社区(545) Laya3.0_api(360) Laya2.0_api(247) laya_api(208) Laya2.0_文档(120) Laya3.0_文档(64) Laya2.0_示例(2)
....__super.call(this); } //Floor 是一个显示对象 继承此 Sprite Laya.class(Floor, "Floor", laya.display.Sprite); var _proto = Floor.prototype; _proto.init = function(type){ //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.ad...
来源: Laya_社区 发布时间: 20160728
...法的模块无法使用,其他地方使用会报错 module bili{ export class Test{ constructor(){ console.log("Test"); } } } 2018-09-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 牛唠叨 赞同来自: Ch...
来源: Laya_社区 发布时间: 20180926
...为父类A.as的代码:package { import flash.display.Sprite; public class A extends Sprite { protected var data:String = "layabox"; public function A() { super(); } } } 作为子类B.as的代码:package { public class B extends A { public function B() { this.data = "layaFlash";//这里的...
来源: Laya_社区 发布时间: 20151211
...前支持以下两种:[Embed(source = "xxx.png")] private var TestImage:Class; [Embed(source = "comp.swf",symbol="xxx")] private var TestSWF:Class; 2015-12-02 0 0 分享 微博 QZONE 微信 fanflash 赞同来自: 似乎layabox air不支持embed了? 2017-04-08 0 1 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20151202
...下。编译器编译出来,命名的时候都是错乱的 比如: __class(StartUpCommand,'com.game.modules.hall.controller.StartUpCommand',_super); __class(StartUpCommand,'com.game.modules.login.controller.StartUpCommand',_super,'StartUpCommand$1'); __class(StartUpCommand,'com.game.shell.contro...
来源: Laya_社区 发布时间: 20170705
...ly exported Menu Globals "laya/d3/resource/models/SkyRenderer" SkyRenderer Class SkyRenderer SkyRenderer 类用于实现天空渲染器。 Hierarchy SkyRenderer Index Constructors constructor Properties SUNLIGHTDIRCOLOR SUNLIGHTDIRECTION Accessors material mesh Methods __init__ Constructors construc...
来源: Laya3.0_api 发布时间: 20231115
...ount = function(){ //----- } } Laya.class(FactionListItem,"FactionListItem",FactionMainNodeUI); return FactionListItem; })(); 在一个类里。。我可以用this.这样直接调用方法吗?我现在调用了会报错? 2017-11-27 添加评...
来源: Laya_社区 发布时间: 20171127
...化一下该链接类 之前我们的写法是: var MClip:Class = ApplicationDomain.currentDomain.getDefinition('Dragon') as Class; var movie:MovieClip = new MClip(); ddChild(movie); 临时解决方案: var dragon:Dragon=new Dragon(); a...
来源: Laya_社区 发布时间: 20151124
API DocumentationAll Packages | All Classes | Index | Frames No Frames LocalStorageProperties | Methods Packagelaya.netClasspublic class LocalStorageInheritanceLocalStorage Object LocalStorage 类用于没有时间限制的数据存储。 Public Properties PropertyDefined By _baseClass ...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames LocalStorageProperties | Methods Packagelaya.netClasspublic class LocalStorageInheritanceLocalStorage Object LocalStorage 类用于没有时间限制的数据存储。 Public Properties PropertyDefined By _baseClass ...
来源: Laya2.0_api 发布时间: 20190513