大约有 1,300 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0050 秒)
Laya_社区(1114) Laya2.0_文档(69) Laya3.0_文档(47) Laya2.0_示例(27) Laya_示例(24) Laya3.0_api(17) laya_api(1) Laya2.0_api(1)
...t); if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); // console.log("texture2d destory"); } this.bitmap=null; } if (this.url && this===Laya.loader.getRes(this.url)) Laya.loader.clearRes(this.url); } }增加的代码是 if (this.bitmap.referenceCount===0){ this.bitmap.destroy(); /...
来源: Laya_社区 发布时间: 20190320
..., onChange); Laya.stage.addChild(vs); } function onChange(value) { console.log("滑块的位置:" + value); } })();module laya { import Stage = Laya.Stage; import HSlider = Laya.HSlider; import VSlider = Laya.VSlider; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Slider...
来源: Laya_示例 发布时间: 20241001
...aya.webgl.js:374 >>>>altas garbageCollection =1 一直报以上log,一段时间后,好像整个页面奔溃了,卡滞了 代码类似下面这样 Laya.timer.loop(200, this, showframe); function showframe() { var url = getimage(); this.sp_video.loadImage(url); }...
来源: Laya_社区 发布时间: 20170825
...rHeight; var width:int = Browser.window.innerWidth; Browser.window.console.log("Console Log:浏览器高:"+ Height + " 浏览器宽:" + width); } } } ``` **方式二:** ```java package { public class JSDemo { public function JSDemo() { //初始化引擎 Laya.init(0, 0); var BrowserInfo:Strin...
来源: Laya2.0_文档 发布时间: 20210715
...{ type : Laya.Scene3D } ) private scene: Laya.Scene3D; onStart() { console.log("Game start"); //加载预制体文件 Laya.loader.load("resources/Prefab.lh").then( (res)=>{ //创建预制体 let monkey: Laya.Sprite3D = res.create(); //添加预制体到场景中 this.scene.addChild( monkey ); mon...
来源: Laya3.0_文档 发布时间: 20240106
...ngeHandler = new Handler(this, this.onChange); } onChange(value) { console.log("滑块的位置:" + value); } } new UI_Slider();module laya { import Stage = Laya.Stage; import HSlider = Laya.HSlider; import VSlider = Laya.VSlider; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export cl...
来源: Laya2.0_示例 发布时间: 20241001
...表, 影响了Space~~如何避免? 关于优化求助思路,运行时log 内存500M多,IPhone6还是卡死 问题状态 最新活动: 2019-12-05 18:56 浏览: 719 关注: 1 人
来源: Laya_社区 发布时间: 20191205
...TextArea的change事件不触发 text.on("CHANGE",this,function(){ console.log("text",text.text); }) 2018-04-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你参考下官网的事件类...
来源: Laya_社区 发布时间: 20180404
...复被折叠 要回复问题请先登录 发起人 xiaoyu 相关问题 Dialog:屏蔽点击Dialog之外的区域关闭弹框 Dialog关闭时如何向open他的页面传值? dialog 自定义关闭效果,效果执行完,弹窗无法关闭 [分享]Dialog 点击边缘不关闭的 Demo示例 怎...
来源: Laya_社区 发布时间: 20200828
...startdrag", function(e):*{ console.log("点中刚体") }) 2019-09-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复...
来源: Laya_社区 发布时间: 20190927