大约有 244 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
...? 怎样解决? new Laya.TiledMap()提示错误:Laya.TiledMap is not a constructor Box自动宽度计算错误 Uncaught TypeError: Cannot read property 'props' of undefined 问题状态 最新活动: 2019-05-23 11:07 浏览: 602 关注: 2 人
来源: Laya_社区 发布时间: 20190522
..., property } = Laya; @regClass() export class Script extends ItemBoxBase { constructor() { super(); } get dataSource(): any { return super.dataSource; } set dataSource(value: any) { super.dataSource = value; if (!value) return; //把数据源里的值,给到子节点属性 if (value.avatar) { let ...
来源: Laya3.0_文档 发布时间: 20251010
...ya.display.Sprite#graphics Hierarchy Graphics GraphicsAni AutoBitmap Index Constructors constructor Accessors cmds Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fill...
来源: Laya3.0_api 发布时间: 20231115
...re2D RenderTexture TextureCube Texture2DArray Texture2D VideoTexture Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace ...
来源: Laya3.0_api 发布时间: 20231115
...什么意思 reference path nod_modules layaair-js layaair.d.ts 然后: constructor(public navCtrl: NavController) { Laya.init(1334, 750); } 2017-09-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yriyr 相关问题 发...
来源: Laya_社区 发布时间: 20170913
...ary> protected targetDistance: number; //protected camera: Laya.Camera; constructor() { super(); } public transform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEu...
来源: Laya_社区 发布时间: 20190224
...通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPath Accessors allowRotation allowSleep angularDamping angularVelocity awaked body bullet destroyed enabled gravityScale ...
来源: Laya3.0_api 发布时间: 20231115
...都会报这个错 代码里lay自带都库会报错 Vector3 is not a constructor 我用都laya as3 laya这边mac是不是根本就没测试过 各种问题 2018-08-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20180825
... true; // 仅在未加入场景前修改有效,兼容ui constructor() { super(); this.once(Laya.Event.DISPLAY, this, this.onCreate); this.once(Laya.Event.UNDISPLAY, this, this.onDestroy); } /** ...
来源: Laya_社区 发布时间: 20181114
...Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.sprite2.on(Laya.Event.MOUSE_DOWN, this, this.test2);//设置监听...
来源: Laya3.0_文档 发布时间: 20251010