大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...rror: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...
来源: Laya_社区 发布时间: 20181210
...字段编译后会被注释 AS3中下面的一个简单的数据类 public class Demo { public var a:int; public var b:String; public function Demo() { } }通过编译后会变成下面的代码class Demo{ constructor (){ //this.a=0; //this.b=null; } }这里字段a和b在编译后会被注释掉,...
来源: Laya_社区 发布时间: 20210222
API DocumentationAll Packages | All Classes | Index | Frames No Frames TextureSheetAnimationProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class TextureSheetAnimationInheritanceTextureSheetAnimation ObjectImplements laya.d3.core.IClone TextureSheetAnimation 类...
来源: Laya2.0_api 发布时间: 20190513
...laya/d3/physicsCannon/shape/CannonBoxColliderShape" CannonBoxColliderShape Class CannonBoxColliderShape BoxColliderShape 类用于创建盒子形状碰撞器。 Hierarchy CannonColliderShape CannonBoxColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallba...
来源: Laya3.0_api 发布时间: 20231102
... QZONE 微信 张佩斌 赞同来自: 同一个bundle.js里面,有一个class Main 还有一个class Main$1 执行了一次Main,还执行了一次Main$1 , 是怎么回事呢 怎么生成的两个 2019-12-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...
来源: Laya_社区 发布时间: 20181026
...目开发更高效。let skins = ["res/ui/tab1.png", "res/ui/tab2.png"]; class UI_Tab { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.ali...
来源: Laya2.0_示例 发布时间: 20250224
...monkey1.png", monkey2Str = "res/apes/monkey2.png", monkey1Res, monkey2Res; class Sprite_SwitchTexture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.st...
来源: Laya2.0_示例 发布时间: 20250224
API DocumentationAll Packages | All Classes | Index | Frames No Frames EmitterSphereProperties | Methods Packagelaya.d3.core.particleClasspublic class EmitterSphereInheritanceEmitterSphere EmitterBase Object EmitterSphere 类用于球发射器。 Public Properties Hide Inherited Public Prop...
来源: laya_api 发布时间: 20170603
...的window是不同? 那再浏览器下的window 。我可以看到很多Class view 的对象 和微信小游戏下的window 完全不同。好像一点都没有 那这样怎么使用比较好的反射机制 拿到对应class view呢? 附件 : --> 2019-07-12 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20190712
...ls Only exported Menu Globals "laya/d3/WebXR/core/WebXRGamepad" AxiGamepad Class AxiGamepad 类用来描述gamepad Axis Hierarchy EventDispatcher AxiGamepad Index Properties axisLength handness EVENT_OUTPUT Methods destroy event hasListener off offAll offAllCaller on once Properties axisLength axisL...
来源: Laya3.0_api 发布时间: 20231115