大约有 2,394 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0127 秒)
Laya_社区(1817) Laya3.0_api(153) laya_api(104) Laya2.0_api(96) Laya2.0_文档(77) Laya_示例(52) Laya2.0_示例(48) Laya3.0_文档(47)
... public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); start(); } private function start():void { ...
来源: Laya_社区 发布时间: 20170608
...e(texture); var arr = {data: StorageRoom.map_storageData[0][0],tag:0}; box.on(Laya.Event.MOUSE_UP,this,this.onclick,[arr]); var _proto = StorageUILayer.prototype; _proto.onclick = function(params){ console.log("--------------------------------hhhhhhhhhhh- "); } -----------------------------...
来源: Laya_社区 发布时间: 20171113
...听只能用stage么?其他对象监听不起作用,谢谢 Laya.stage.on(laya.events.Event.KEY_DOWN, this, this.onkeyDown);使用舞台监听有效,但是如果使用 var sp = new Sprite(); sp.width = 720; sp.height = 1280 Laya.stage.addChild(sp) sp.on(laya.events.Event.KEY_DOWN, this, this.on...
来源: Laya_社区 发布时间: 20180112
API DocumentationAll Packages | All Classes | Index | Frames No Frames GyroscopeProperties | Methods Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()...
来源: laya_api 发布时间: 20170929
...报错 附件 : --> 2019-10-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 kylin 赞同来自: 将typescript的语法检查打开即可,未来我们会默认为打开 ``` typescript({ ...
来源: Laya_社区 发布时间: 20191011
...set is outside the bounds of the DataView 代码: package com.ppt.components.role { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; public class CombatRole extends BaseRole { private var _templet:Tem...
来源: Laya_社区 发布时间: 20170204
...TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Skeleton = Laya.Skeleton; var Templet = Laya.Templet; var Event = Laya.Event; var GlowFilter = Laya.GlowFilter; var Loader = Laya.Loader; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.H...
来源: Laya_示例 发布时间: 20251209
...r中特别的语法规则在哪里统一可以找到 var LoginView = function () { LoginView.super(this); this.btnReg.on(Laya.Event.CLICK, null, function () { console.log("on btReg event") }); } 目前编辑的代码辅助,好像还是无法获得父类的成员...
来源: Laya_社区 发布时间: 20170317
API DocumentationAll Packages | All Classes | Index | Frames No Frames GyroscopeProperties | Methods Packagelaya.device.motionClasspublic class GyroscopeInheritanceGyroscope EventDispatcher Object 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()...
来源: Laya2.0_api 发布时间: 20190513
...息 laya.core.js:2554 Uncaught TypeError: Failed to execute 'attachShader' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLShader'. at ParticleShader._compile (VM258 laya.core.js:2554) at ParticleShader.recreateResource (VM258 laya.core.js:2529) at new Shader (VM258 l...
来源: Laya_社区 发布时间: 20190906