• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 13 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)

1. request failed status:0 text: IOS HttpRequest [ 100%]

request failed status:0 text: IOS HttpRequest var data = { rechargeId:"1", consumerId:"533", } alert(JSON.stringify(data)); hr = new HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestErr...

来源: Laya_社区 发布时间: 20170620

2. iOS wkWebView [ 92%]

...ror); this.hr.send('http://tdev.sanguoh5.com:8001/?r=h.a.a', null, 'get', 'text'); }  private onHttpRequestError(e: any): void { console.log("error==>"+e); }  private onHttpRequestProgress(e: any): void { console.log("progress==>"+e); }  private onHttpRequestComplete(e: any): void { console...

来源: Laya_社区 发布时间: 20201023

3. Laya.HttpRequest 没有调用回调方法? [ 75%]

...PROGRESS,this,processHandler); xhr.send("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); console.log("1111"); } function errorHandler(data){ console.log("2222"); } function completeHandler(e){ console.log("3333"); } 2018-08-30 添加评论 免费帖 --> ...

来源: Laya_社区 发布时间: 20180830

4. 回调函数... [ 68%]

...后的回调时间 关于shader中opengl函数问题 ios原生回调问题 Text类中竟然没有pos函数的api~ 网络send 不回调?什么情况? 引擎有没有管理或访问系统剪贴板的方法函数 http 请求 once 的 回调参数,如何传递和接收? MOUSE_OVER注册的响应...

来源: Laya_社区 发布时间: 20170626

5. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 59%]

...是重点,文字的效果我们是通过svg支持的css样式来设置 text-shadow设置的是文字的css样式效果,假如开发者想改变文字的样式,可以修改style即可。 ``` ​ 上面是在JavaScript中,用原生的dom元素img来进行显示,那么在游戏中我们想用...

来源: Laya2.0_文档 发布时间: 20210715

6. 打飞机点开始游戏加载飞机动画不出来,点重新开始,才出来,新手求助! [ 55%]

... map.removeSelf() play.removeSelf() over = new GameOverUI() over.txt_score.text = "25" over.btn_restart.on(Event.MOUSE_UP,this,gameInit) Laya.stage.addChild(over); } hero类: (function() { function Hero(type, hp) { Hero.__super.call(this); this.fly(); } Laya.class(Hero,"Hero", Air); var _proto = H...

来源: Laya_社区 发布时间: 20180911

7. laya.display.Text [ 52%]

...I DocumentationAll Packages | All Classes | Index | Frames No Frames TextProperties | Methods | Events | Constants Packagelaya.displayClasspublic class TextInheritanceText Sprite Node EventDispatcher ObjectSubclasses Input Text 类用于创建显示对象以显示文本。 注意:如果...

来源: Laya2.0_api 发布时间: 20190513

8. [LayaAirIDE3]3.3.1 UI点击区域异常,mouseThrough属性失效 [ 50%]

...ough为true,而后设置了node2的子节点0(GWidget的实例)纹理texture为new Laya.Texture。设置纹理之后,mouseThrough的设置就无效了,可以参考Laya.Sprite的mouseThrogh的注释,如下所示: /** * @en For non-UI component display object nodes (container objects or ...

来源: Laya_社区 发布时间: 20250825

9. laya.display.Input [ 50%]

...s | Constants Packagelaya.displayClasspublic class InputInheritanceInput Text Sprite Node EventDispatcher Object Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与...

来源: Laya2.0_api 发布时间: 20190513

10. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 49%]

...是重点,文字的效果我们是通过svg支持的css样式来设置 text-shadow设置的是文字的css样式效果,假如开发者想改变文字的样式,可以修改style即可。 ``` 上面是在JavaScript中,用原生的dom元素img来进行显示,那么在游戏中我们想用的...

来源: Laya2.0_文档 发布时间: 20210715