大约有 1,102 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0056 秒)
Laya_社区(444) Laya3.0_api(292) Laya_示例(112) Laya2.0_示例(80) Laya2.0_文档(61) Laya3.0_文档(51) Laya2.0_api(35) laya_api(27)
...刚体碰撞器。 Hierarchy CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath TYPE_DYNAMIC TYPE_KINEMATIC TYPE_STATIC Accessors angularDamping angularVelocity awaked btColliderObject canCollideWith collider...
来源: Laya3.0_api 发布时间: 20231102
...接 提交 3 个回复 lvfy 赞同来自: 已经解决: obj["__proto__"].constructor.name。同上述类取名一样,取出来的为当前类的类型。 或者obj.__proto__.constructor.name,但此用法编译报错,实际运行可行。 2017-10-19 0 0 分享 微博 QZONE 微信 lvfy 赞同...
来源: Laya_社区 发布时间: 20171019
....Skeleton 对象报错 export default class showSpine extends Laya.Script{ constructor() { super(); //创建一个Skeleton对象 //Laya let skeleton: laya.ani.bone.Skeleton = new laya.ani.bone.Skeleton(); } } 实例化报错 为啥 2018-09-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...
来源: Laya_社区 发布时间: 20180928
...ture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG _videoTexturePool Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrecti...
来源: Laya3.0_api 发布时间: 20231102
...全局文本信息 private txt: Text; constructor() { //初始化舞台大小 Laya.init(1136, 640); //设置适配模式 Laya.stage.scaleMode = this.modes; //设置舞台背景...
来源: Laya2.0_文档 发布时间: 20200307
...const WID = 373, HEI = 85; const Box = Laya.Box; class Item extends Box { constructor(){ super(); const Image = Laya.Image; this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); } setImg(src) { this.img.skin = src; } } class UI_List { constructor() { const Browser = Laya.Browser, Web...
来源: Laya2.0_示例 发布时间: 20250223
...入,有1处问题 链接:https://layaair2.ldc2.layabox. ... DForm 1、constructor里的最后一行: Laya.stage.on(Laya.Event.RESIZE, this, this.fitDOMElements, [emailInput, birthdayInput, passwordInput]); 当stage调整尺寸时,对3个input位置进行调整,当初次运行时,3个inpu...
来源: Laya_社区 发布时间: 20221205
...let Class Templet 动画模板类 Hierarchy AnimationTemplet Templet Index Constructors constructor Properties _id aniSectionDic bindBoneBoneSlotDic boneSlotArray boneSlotDic deformAniArr destroyedImmediately drawOrderAniArr eventAniArr ikArr isParseFail lock mBoneArr mRootBone name pathArr rate ski...
来源: Laya3.0_api 发布时间: 20231115
...不知道Laya本身是否有解决方案啊 wxhelper.jsclass WXHELPER { constructor () { this._isWxContext = !!window.wx } onShow (callback) { if (!this._isWxContext) return window.wx.onShow(callback) } onHide (callback) { if (!this._isWxContext) return window.wx.onHide(callback) } offShow (callba...
来源: Laya_社区 发布时间: 20181101
...eScene.tsexport namespace base{ export class BaseScene extends Laya.Scene{ constructor(){ super(); console.log('BaseScene:我是基类BaseScene,我的子类是导出类,我的父类是场景类'); } } } 导出UI 导出后layaMaxUI.ts的内容如下/**This class is automatically generated by LayaAi...
来源: Laya_社区 发布时间: 20200827