大约有 91 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)
...透视效果,位置信息等。 在3.1节中的Prefab2D中,添加一个Text节点,命名为“value”,并将进度条命名为“bar”,接着勾选value、bar的定义变量选项。如图4-1所示, (图4-1) 保存场景后,就像处理2D UI的操作一样,在2D预制体的根...
来源: Laya3.0_文档 发布时间: 20251010
...与用户点击输入时的文本的位置有少许的偏差。 Hierarchy Text Input Index Constructors constructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROLL SHRINK...
来源: Laya3.0_api 发布时间: 20231115
...ndler; WebGL = Laya.WebGL; Animation = Laya.Animation; Label = Laya.Label; Text = Laya.Text; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.loadingLabel = null; thi...
来源: Laya2.0_示例 发布时间: 20251130
...set="UTF-8"> <title>Test WebSocket</title> <script type="text/javascript"> //显示信息 var log = function(s) { if (document.readyState !== "complete") { log.buffer.push(s); } else { document.getElementById("output").textContent += (s + "\n"...
来源: Laya_社区 发布时间: 20170724
...2、获取Html文本的实际内容、获取html文本的实际宽高(contextWidth、contextHeight) 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTM...
来源: Laya_社区 发布时间: 20161027
...Package.createWidget("editorResources/UI/MyWidget.widget"); let input: gui.TextInput = this._panel.getChild("TextInput").getChild("title"); input.on("changed", () => { console.log("改变了!"); }) } } 四、程序化生成界面 4.1 常用方法 除了使用UI编辑器制作界面,也可以...
来源: Laya3.0_文档 发布时间: 20251010
...All Inherited Externals Only exported Menu Globals "laya/resource/NativeContext" NativeContext Class NativeContext Hierarchy NativeContext Index Constructors constructor Properties _buffer _byteArray _fdata _idata sprite ARRAY_BUFFER_REF_COPY ARRAY_BUFFER_REF_REFERENCE ARRAY_BUFFER_TYPE_CMD ARRAY_BU...
来源: Laya3.0_api 发布时间: 20231102
...s.onHttpRequestError); this.hr.send("http://www.baidu.com", null, 'post', 'text', ['Access-Control-Allow-Origin','*', 'Access-Control-Allow-Headers','X-Requested-With', 'Access-Control-Allow-Methods','GET,POST,OPTIONS']);//一定在哪写错,快来帮我看看呀 我没做过H5,没做过WEB,...
来源: Laya_社区 发布时间: 20151028
...问apk就可以解决了,安装apk: public static boolean install(Context context, String filePath) { Intent i = new Intent(Intent. ACTION_VIEW); File file = new File(filePath); if (file != null && file.length() > 0 && file.exists() && file.isFile()) { i.setDataAndType...
来源: Laya_社区 发布时间: 20160104
...layaairfiles.txt"; MiniFileMgr.ziyuFileData = {}; MiniFileMgr.ziyuFileTextureData = {}; MiniFileMgr.loadPath = ""; MiniFileMgr.DESCENDING = 2; MiniFileMgr.NUMERIC = 16; class MiniSoundChannel extends Laya.SoundChannel { constructor(audio, miniSound) { super(); this._audio = audio; thi...
来源: Laya_社区 发布时间: 20200103