大约有 856 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
Laya_社区(264) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(35) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...据实例化组件。 Parameters uiView:Object — UI数据。 comp:* (default = null) — 组件本体,如果为空,会新创建一个。 view:View (default = null) — 组件所在的视图实例,用来注册var全局变量,如果值为空则不注册。 Returns* — 一个 Component ...
来源: laya_api 发布时间: 20170929
...dialog:Dialog — 需要关闭的对象框 Dialog 实例。 type:String (default = null) — 关闭的类型,默认为空 closeAll()method public function closeAll():void 关闭所有的对话框。 closeByGroup()method public function closeByGroup(group:String):Array 根据组关闭所有...
来源: laya_api 发布时间: 20170929
...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