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

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

11. Laya下怎么实现复制 [ 59%]

...; <div>hello world</div> <button class="btn" data-clipboard-action="copy" data-clipboard-target="div">Copy</button>  <!-- 2. Include library --> <script src="../src/Frame/ThirdLibs/clipboard.min.js"></script>  <!-- 3. Instantiate clipboard --> <sc...

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

12. 关于截屏的问题 [ 57%]

...ing alarm Alarm{29fd8e9b type 3 when 160237441 android},repeatInterval = 0,action=android.intent.action.TIME_TICK 06-09 11:48:59.994 2087-2087/? I/HwLauncher: Model  onReceive intent=Intent { act=android.intent.action.TIME_TICK flg=0x50000014 (has extras) } 06-09 11:48:59.994 1040-1432/? D/PowerMan...

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

13. 图片像素精准点击问题! [ 57%]

... '0000') return false; return true; } if (hitTest(target)) { // do hitTest action; }   通过检测像素点颜色值来判断点击区域,这里不能用 on(Laya.Event.CLICK,只能通过 on(Laya.Event.MOUSE_DOWN 来检测。   下面是我的代码处理: class demo { private down:Laya.Imag...

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

14. 分包后, 资源加载问题 [ 55%]

...:1,"key":"width","index":100}]}}],"name":"loading1","id":1,"frameRate":24,"action":2}]}; return loadingjzaUI; })(View) //class ui.loadingUI extends laya.ui.View var loadingUI=(function(_super){ function loadingUI(){ this.loadingMC=null; loadingUI.__super.call(this); } __class(loadingUI,'ui.loadingUI...

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

15. 纹理集包含多个动作的时候按照技术文档写出来的不能正常播放呢? [ 54%]

...直观一点: private const stand:String = "STAND"; private function loadActionsComplete():void {     //创建动画模板dizziness      //Animation.createFrames(aniUrls("zy/" + stand + "000", 5), stand + "000");//这么写也不对      Animation.createFrames(aniUrls(stand + "000", 5), ...

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

16. LAYABOX游戏实时语音之APP版本 [ 51%]

...ientation" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> <receiver android:name="com.youme.im.NetworkStatusReceiver" ...

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

17. 引擎插件使用说明(TypeScript-小游戏适配文档-微信小游戏) [ 40%]

...录查询地址为:** https://mp.weixin.qq.com/wxopen/pluginbasicprofile?action=intro&appid=wx70d8aa25ec591f7a&token=&lang=zh_CN 打开链接后,找到更新纪录一栏,如下图所示,即可找到。 ![img](img/1.png) > 注:纪录中最早的1.0.0版本是引擎方对接微信插件调...

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

18. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 33%]

... "text", type : "string" }, { name : "count" , type: "number" }, { name : "actions", inspector: "Buttons", options : { buttons : [ { caption : "点我", event: "my_click" } ] } } ] } ]); this._panel.allowUndo = true; //根据需要设置 //如果不需要undo功能,也可以直接this._data = {}; ...

来源: Laya3.0_文档 发布时间: 20251010

19. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 27%]

...b shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from application. Thi...

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

20. VSCode高效开发工作流配置指南(TypeScript-IDE篇(TS)-代码模式基础) [ 25%]

...增加以下内容: ```json [ { "key": "ctrl+f8", "command": "workbench.action.tasks.runTask", "args": "compile" } ] ``` 到这里,我们就完成了给编译命令绑定快捷方式的全部操作。以后,我们就可以在VSCode中直接使用Ctrl+F8编译,F5断点运行,这个快捷的...

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