大约有 33 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0036 秒)
...riable: window stack 真机调试报错:LayaPlayer不支持的标签</SCRIPT> Laya2.3.0beta发布的3D物理项目在百度开发工具上,用华为荣耀8A真机测试,3D场景出现闪屏 3d项目发布到微信工具真机预览无法加载场景ls文件??? async真机运行报...
来源: Laya_社区 发布时间: 20170620
... flash模式下用 /*[IF-FLASH]trace("layabox")*/ h5模式下用 //[IF-SCRIPT]alert("layabox") 区域编译宏,只会在h5模式下生效 /*[IF-SCRIPT-BEGIN]trace("hello-h5")[IF-SCRIPT-END]*/ //代码直译方法,直接调用h5的方法 __JS__("alert(100)");//直译的意思就是括号...
来源: Laya_社区 发布时间: 20151106
...Data is not defined? 真机调试报错:LayaPlayer不支持的标签</SCRIPT> 小游戏项目 加载有中文的json文件 报错 IDE通过.ui自动生成的ui代码报错 runtime运行报错! 问题状态 最新活动: 2020-06-15 10:56 浏览: 392 关注: 1 人
来源: Laya_社区 发布时间: 20200615
....0.2 连不上wss <html> <head> </head> <body> <script> var ws = new WebSocket("wss://login.huanxi.twbuyu.com:27777"); ws.onopen = function() { alert("connect success~"); ws.send('tom'); alert("send to server msg: tom"); }; ws.onmessage = function(e) { alert("accpet msg...
来源: Laya_社区 发布时间: 20181018
向script这个脚本里面传参? 使用Laya.Script来创建脚本的时候,比如camera.addComponent(CameraMoveScript);如何向CameraMoveScript这个脚本里面传参? 2017-05-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20170527
...一个btn1.js 我在这样写的 export default class btn1 extends Laya.Script { constructor(){ alert("1"); //执行后这里触发了 super();} onEnable(){ alert("2"); //执行后这里触发了 } onclick(){ alert("3"); //执行后点击按钮这里没触发,不知道为什么 //Laya.Scene.ope...
来源: Laya_社区 发布时间: 20181028
[LayaAir3]LayaAir3打android平台运行有Load script error 错误 打包android平台 运行的时候触发了初始化错误回调 Load script error 错误 但是远端index.js 内容是没有错误 url也是对的window.onLayaInitError=function(e) { console.log("onLayaInitError error=" + e); ...
来源: Laya_社区 发布时间: 20240401
...回复 sword2015 赞同来自: 下面是socket源码: package Scripts.Core { import laya.net.Socket; import laya.utils.Byte; import laya.events.Event; import Scripts.Core.MsgManger; import Scripts.Core.IHandler; import Scripts.Core.TipsManager; import laya.utils.Browser; /** * ... * @auth...
来源: Laya_社区 发布时间: 20170724
...r:, performSelector:, method_exchangeImplementations(), and running remote scripts in order to change app behavior and/or call SPI, based on the contents of the downloaded script. Even if the remote resource is not intentionally malicious, it could easily be hijacked via a Man In The Middle (MiTM) a...
来源: Laya_社区 发布时间: 20171221
...复 cuixueying 赞同来自: 如果你是AS项目 1、通过index.html的script标签引入qrcode.js,再项目下通过__JS__()方法直接调js的方法使用即可,譬如__JS__('alert("aaa")') 2、如果你是js或ts项目,同样要通过index.html的script标签引入qrcode.js,然后按...
来源: Laya_社区 发布时间: 20170405