• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 189 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0069 秒)

121. laya2.0 截图功能分享,直接截取屏幕上所有对象 [ 57%]

...lisionObject' of undefined 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象,统计面板的显存和内存就会显示成负数 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 分享:使用 Chart.js 创建图标 3d显示对象克隆体...

来源: Laya_社区 发布时间: 20191016

122. 【简单跑酷--JS版】---Lv.5 玩家踩地板 [ 57%]

...h) < 0){ //判断整个floor是否不在屏幕里面了 如果不在了 移除当前floor Laya.timer.clear(this, this.onLoop); this.visible = false; this.event(Floor.OUT_DIE, this); } } /** * 检测碰撞 * x 坐标 * y 坐标 */ _proto.checkHit = function(x,y){ if(x > this.x && x <...

来源: Laya_社区 发布时间: 20160801

123. 分享:DrawToCanvas内存释放问题! [ 57%]

...图片,加载后引擎会自动打开大图合集,无需开发者手动移除,引擎会自动判断,当内存大于最大上限阀值时,将旧的资源进行销毁! // 大于512*512的图片,则需要开发者手动销毁,否则会出现内存泄漏 // (参考链接:https://ask....

来源: Laya_社区 发布时间: 20170822

124. 分享:简单聊天室 [ 54%]

.../ 设置my_html文本高度的上限值,超出上限值,将旧的文本移除,添加新的文本内容 var value:Number=380; if(my_html.contextHeight>=value) { //这里简单写了,实际上是str的标签个数,开发者可以自己遍历str的标签个数,进行移除处理 // 我...

来源: Laya_社区 发布时间: 20170107

125. laya.d3.physics.PhysicsSimulation_API3.0 [ 51%]

...traintComponent): void Defined in laya/d3/physics/PhysicsSimulation.ts:665 移除刚体运动的约束条件。 Parameters constraint: ConstraintComponent Returns void removeVehicle removeVehicle(v: RaycastVehicle): void Defined in laya/d3/physics/PhysicsSimulation.ts:931 Parameters v: RaycastVehicl...

来源: Laya3.0_api 发布时间: 20231115

126. laya.ui.UIComponent_API3.0 [ 47%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115

127. laya.ui.Clip_API3.0 [ 47%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115

128. laya.ui.HScrollBar_API3.0 [ 47%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115

129. laya.ui.VScrollBar_API3.0 [ 47%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115

130. laya.ui.Box_API3.0 [ 47%]

...rs Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/events/Event...

来源: Laya3.0_api 发布时间: 20231115