大约有 513 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0069 秒)
...ment) { case "left": console.log(this.text + " left"); if (isFF) { alignmentText = '<text text-anchor="start" dominant-baseline="middle" '; } else ...
来源: Laya_社区 发布时间: 20180824
...is, this.onComplete)); //this.onComplete() console.log("11111111111") Laya.loader.load("res/threeDimen/particle/2d.lh", Handler.create(this, this.onAssetsLoaded), null, Loader.JSON); } public onAssetsLoaded(settings: ParticleSetting): ...
来源: Laya_社区 发布时间: 20190509
...阅文档《性能统计与优化》。 1.3.2 显示移动端调试工具 VConsole 在移动端调试,通常需要联到电脑端的浏览器上。 如果开发者不需要断点,只是一些常用的日志打印、加载等查看等,开启V Console,在移动端会出现如图1-11所示的...
来源: Laya3.0_文档 发布时间: 20251014
...ource.value; // cell.setImg(cell.dataSource); } function onSelect(index) { console.log("当前选择的索引:" + index); } })();这段代码直接复制到官网的例子里面执行就能看到了,最新版本引擎中,在renderHandler中强制设置TextInput的值,不会出现数据乱的...
来源: Laya_社区 发布时间: 20180312
...w Laya.Vector3(0,0,-1); Laya.timer.loop(2000, this, function(){console.log(rigidBody.linearVelocity.z)}); } } //激活启动类 new PhysicsWorldBaseCollider(); 2019-10-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...
来源: Laya_社区 发布时间: 20191009
...rototype; _proto.preload = function (complete) { console.log("preload..." + (++this.numPreloadCalls)); if (this.dragon_sk._templet) { complete(); } else { Laya.timer.frameOnce(1, this, this.pr...
来源: Laya_社区 发布时间: 20180622
....2); sprite3D.once(Laya.Event.HIERARCHY_LOADED, null, function(sprite) { //console.log(scene.numChildren+","+sprite._childs.length); setMeshParams(sprite, Laya.StandardMaterial.RENDERMODE_OPAQUE, new Laya.Vector4(3.5, 3.5, 3.5, 1.0), new Laya.Vector3(0.6823, 0.6549, 0.6352), new Laya.Vector2(25.0, 2...
来源: Laya_社区 发布时间: 20170707
...String(rightMargin); _indent = String(indent); _leading = String(leading); console.log("font==="+_font, "size==="+_fontSize, "color==="+_color, "bold==="+_bold, "italic==="+_italic, "underline==="+_underline,"leftMargin==="+_leftMargin, "rightMargin==="+_rightMargin); } } } 附件 : --> DemoLabel.zi...
来源: Laya_社区 发布时间: 20170516
...andler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var button = new laya.ui.Button("resource/ui/button.png","label");//创建一个 Button 类的实例对象 button ,传入它的皮肤skin和标签label。 button.x =100;//设置 button ...
来源: Laya3.0_api 发布时间: 20231115
...andler.create(this,loadComplete));//加载资源 function loadComplete() { console.log("资源加载完成!"); var checkBox:laya.ui.CheckBox= new laya.ui.CheckBox("resource/ui/check.png", "这个是一个CheckBox组件。");//创建一个 CheckBox 类的类的实例对象 checkBox ,传入它的皮...
来源: Laya3.0_api 发布时间: 20231115