大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0044 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...1 15:01 浏览: 2083 关注: 2 人 198*****136 • 2020-09-11 16:34 export default class Scene_Battle extends Laya.Script{ playerUnitReady:number; enemyUnitReady:number; private playerUnit:Laya.Animation[]; private enemyUnit:Laya.Animation[]; constructor(){ super(); Laya.stage.alignH= Laya.Stage.ALI...
来源: Laya_社区 发布时间: 20200910
...fo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Han...
来源: Laya_社区 发布时间: 20170215
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference...
来源: Laya3.0_api 发布时间: 20231115
...示例工程请参阅附件 截图如下: 核心代码如下 export default class OutlineMaterial extends Laya.BaseMaterial { constructor() { super() var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord': Laya.VertexMesh.MESH_T...
来源: Laya_社区 发布时间: 20180925
...个时候它并不会被打入bundle.js, 得把这段代码改成export default class asd { }才能在bundle.js里找到它?? 有没有什么方法或者构建选项可以不用写那么多export和import吗? 因为现在项目用的1.0版本基本都快完成了,之前都是不写import...
来源: Laya_社区 发布时间: 20190109
...laya3 很多年了,真希望越来越好。望重视 参考脚本 export default class Times 附件 : --> LayaFps.zip 2025-09-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 7 个回复 谷主 赞同来自: Charley-Layabo...
来源: Laya_社区 发布时间: 20250908
...pe/CannonCompoundColliderShape.ts:58 Parameters shape: CannonColliderShape Default value localOffset: Vector3 = null Returns void bindRigidBody bindRigidBody(rigidbody: CannonPhysicsComponent): void Defined in laya/d3/physicsCannon/shape/CannonCompoundColliderShape.ts:92 Parameters rigidbody: Cannon...
来源: Laya3.0_api 发布时间: 20231102
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference...
来源: Laya3.0_api 发布时间: 20231115
...s = baos.toByteArray(); result = Base64.encodeToString(bitmapBytes, Base64.DEFAULT); } } catch (IOException e) { e.printStackTrace(); } finally { try { if (baos != null) { baos.flush(); baos.close(); } } catch (IOException e) { e.printStackTrace(); } } return result; } 2020-07-29 添加评论 免费...
来源: Laya_社区 发布时间: 20200729
...象池对应的编号对应好,否则使用时会出问题 */ export default class PoolManager { static _instance:any; public m_ObjectPoolDic:{[key:number]:QueueT<Laya.MeshSprite3D>}={} constructor() { } static getInstance() { return this._instance || (this._instance = new PoolManager()) ...
来源: Laya_社区 发布时间: 20191206