大约有 312 项符合查询结果, 库内数据总量为 14,848 项。 (搜索耗时: 0.0080 秒)
API DocumentationAll Packages | All Classes | Index | Frames No Frames ClassUtilsProperties | Methods Packagelaya.utilsClasspublic class ClassUtilsInheritanceClassUtils Object ClassUtils 是一个类工具类。 Public Properties PropertyDefined By _classMap : Object[static] ClassUtils...
来源: laya_api 发布时间: 20170929
...下。编译器编译出来,命名的时候都是错乱的 比如: __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
....__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
...aya.aspackage { import laya.display.Stage; import laya.webgl.WebGL; public class testlaya { public function testlaya() { Laya.init(100, 100, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.bgColor = "#ffffff"; new A(); } } }package { import laya.uti...
来源: Laya_社区 发布时间: 20170330
2.0动效模板问题,我照着2.0的文档做,can not found class ui.xxxUI这个错误 问题如上 我用的是js,看文档也是看js,但是不是文档没完善好,感觉好多东西都是1.0版的,让我无从下手,看得懵逼,建议出个2.0的视频教程,这样会减少你们很多工作...
来源: Laya_社区 发布时间: 20181025
... testUI=(function(_super){ function testUI(){ testUI.__super.call(this); } CLASS$(testUI,'ui.testUI',_super); var __proto__=testUI.prototype; __proto__.createChildren=function(){ laya.ui.Component.prototype.createChildren.call(this); this.createView(testUI.uiView); } testUI.uiView={"type":"Dialog","...
来源: Laya_社区 发布时间: 20180325
... 支持 加载下一个场景的同时执行异步方法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this._loadSc...
来源: Laya_社区 发布时间: 20181124
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShapeUtilsMethods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class ShapeUtilsInheritanceShapeUtils Object ... Public Methods MethodDefined By ShapeUtils()ShapeUtils _randomPointInsideHalfUnitBox(...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames EmitterBaseProperties | Methods Packagelaya.particle.emitterClasspublic class EmitterBaseInheritanceEmitterBase Object EmitterBase 类是粒子发射器类 Public Properties PropertyDefined By emissionRate : Number ...
来源: laya_api 发布时间: 20170929
...kage ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); //加...
来源: Laya_社区 发布时间: 20170124