大约有 91 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
...Page let loadPage = new LoadPage() loadPage.preload() this.getChildByName('text').on(Laya.Event.CLICK, this, function () { // 切换打开场景方式 查看效果不同 loadPage.openScene('page2.scene', this.getUserInfo, true, [1, 2, 3]) // loadPage.openScene2('page2.scene', this.getUserInfo, true,...
来源: Laya_社区 发布时间: 20181124
..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","../atlas/comp.json"); xmlreq.send() }, false); 这个例子是在worker中进行加载文件,加载完...
来源: Laya3.0_文档 发布时间: 20251010
...r "/data/local/tmp/com.mygame.Shjy3Android" WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix. pkg: /data/local/tmp/com.mygame.Shjy3Android Success Launching application: com.mygame.Shjy3Android/demo.MainActivity. DEVICE SHELL COMMAND: am star...
来源: Laya_社区 发布时间: 20170215
...e if (type==="font"){//这里,启用webgl后,HTMLImage.create返回的是Texture2D,不是HTMLImage,data上没有_source这个属性 //导致重复加载图片,走不到else里面,if的判断是否应该改为 !this._data if (!data._source){ ...
来源: Laya_社区 发布时间: 20190402
..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加...
来源: Laya2.0_文档 发布时间: 20210715
..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,加...
来源: Laya2.0_文档 发布时间: 20210715
..., function (e) { var xmlreq = new XMLHttpRequest(); xmlreq.responseType = "text"; xmlreq.onload = function (e) { var data = e.currentTarget.response; self.postMessage(data); } xmlreq.open("get","res/atlas/comp.json"); xmlreq.send() }, false); ``` 这个例子是在worker中进行加载文件,...
来源: Laya2.0_文档 发布时间: 20210715
...ive2 打包android平台 报错 btCollisionObject undefined 请问如何让textinput组件输入密码的时候显示*号? List组件 repeat(x/y)设置问题 寻路导航示例中添加Laya.PathFind组件报异常 自定义官方组件报错,有无官方例子下载? laya有RichText的组件...
来源: Laya_社区 发布时间: 20170227
...PlayCompleteNotify; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Environment; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.util.Log; import org.json.JSONException; import org.json.JSONO...
来源: Laya_社区 发布时间: 20170722
...Protected All Inherited Externals Only exported Menu Globals "laya/display/Text" Text Class Text Text 类用于创建显示对象以显示文本。 注意:如果运行时系统找不到设定的字体,则用系统默认的字体渲染文字,从而导致显示异常。(通常电脑上显示正...
来源: Laya3.0_api 发布时间: 20231115