大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0076 秒)
... 我举个例子: let color='#FFFFFF' 原生: color.substr(0,0) -> ''; String.prototype.substr = Laya.__substr : color.substr(0,0) -> '#FFFFFF' 覆盖String 的substr 使一些需要取空值的操作没有了,对于第三方类库使用了原生substr的时候会有干扰。 ...
来源: Laya_社区 发布时间: 20170130
改变TextInput type(password -> text或text -> password), 当前文字并不能立即切换显示,需要触发某个额外事件,该TextInput的文字才能相应切换。 改变TextInput type(password -> text或text -> password), 当前文字并不能立即切换显示,需要触...
来源: Laya_社区 发布时间: 20180317
...t/Conventional/Effect_zhujue_attack.lh", Laya.Handler.create(this, () => { let item = Laya.loader.getRes("res/scene_Effect/Conventional/Effect_zhujue_attack.lh"); let tarItem = Laya.Sprite3D.instantiate(item); thi...
来源: Laya_社区 发布时间: 20191102
...ata = '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' + '<foreignObject width="100%" height="100%">' + '<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' + '<em>I</em> like ' + '<span style="color:white; text-shadow: 0px 1px 0px #...
来源: Laya3.0_文档 发布时间: 20251010
...红底 UI code <View width="750" height="225" editorInfo="compId=1"> <Image y="0" x="0" skin="home/image_touxiangkuang.png" editorInfo="compId=5"/> </View> 附件 : --> 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20170809
...容相关的链接 提交 1 个回复 186*****534 赞同来自: 文件-->首选项-->用户设置-->编辑器 找到下面这个属性,然后在右侧编辑器中改为false // 控制是否显示 minimap "editor.minimap.enabled": true, 2019-03-02 0 0 分享 微博 QZONE 微信 为...
来源: Laya_社区 发布时间: 20190301
...shReader read(data:ArrayBuffer, mesh:Mesh, subMeshes:Vector.<SubMesh>):void[static] MeshReaderConstructor DetailMeshReader()Constructorpublic function MeshReader()Method Detailread()method public static function read(data:ArrayBuffer, mesh:Mesh, subMeshes:Vector.<SubMesh>):void Parame...
来源: Laya2.0_api 发布时间: 20190513
...uctor new Texture(source?: Texture | BaseTexture, uv?: ArrayLike<number>, sourceWidth?: number, sourceHeight?: number): Texture Overrides Resource.__constructor Defined in laya/resource/Texture.ts:228 创建一个 Texture 实例。 Parameters Default value source: Texture | BaseTexture = null ...
来源: Laya3.0_api 发布时间: 20231115
...以在xml中是这样定义的: <?xml version="1.0" encoding="utf-8"?> <uiComp> <ShineButton className="laya.customUI.ShineButton" inherit="Button" skinLabel="skin" defaultValue="label=" resName="sbtn" groups="公用,常用,宽高及位置" drag="3" /> </uiComp> 2017-01-28 ...
来源: Laya_社区 发布时间: 20170128
...r }); ResUIModuleManager.loadModuleByName(resAltlasName, className, (cn) => { let sv: any = ui.UIControl.instance.showView(cn); showCompleteFun(sv); }); } /** * 加载模块的资源 * 资源必须放在atlas下面 * @static * @param {string[]} mNames 模块的资源路径下的名称(也是模...
来源: Laya_社区 发布时间: 20170905