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

大约有 327 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0047 秒)

21. 3D中摄像机绕物体旋转该如何实现? [ 77%]

...true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3...

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

22. 官方案例里摄像机绕物体旋转脚本的问题 [ 77%]

...true; /// <summary> /// Around center. /// </summary> //public target: Transform3D; public AroundPos: Vector3 = new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3...

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

23. 打包app后弹框:设置横竖屏错误 [ 76%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 使用钢体设置...

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

24. FrameAnimation [ 76%]

...题:   ide版本1.7.20   "animations": [{     "nodes": [{         "target": 172,         "keyframes": {             "rotation": [{                 "value": 0,                 "tweenMethod": "linearNone",                 "tween": true,                ...

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

25. UI-RefreshList [ 76%]

...ind(){ return this.scrollBarIsStop; } onListMouse(e, index){ console.log(e.target.name); if (e.type == Event.MOUSE_DOWN) { this.mouseDown = true; //如果单元格已经展开,则先恢复 if (this.itemIsOpen) { this.itemIsOpen = false; this.itemOpenId = -1; Tween.to(this.openedItem, { "x": 0 }, 5...

来源: Laya2.0_示例 发布时间: 20241001

26. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 76%]

...ask; } private static _layerMap = {'ui':5} public static assignCullingMask(target){ let layerNodeName = ''; let prefix = 'culling_mask='; for(let i = 0; i < target.numChildren; ++i){ let child = target.getChildAt(i); if(child.name.indexOf(prefix) == 0){ layerNodeName = child.name.replace(prefix,'...

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

27. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 76%]

...hrome出现错误: Error processing launch: Error Could not attach to main target 加载到舞台的3D模型不显示贴图 有无类似flashfirebug、firebug的H5 canvas Inspector? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏...

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

28. 循环添加一组按钮事件无法正常使用 [ 74%]

...           trace("mouseEvent");             trace("e "+e.target);             switch (e.type)             {                 case Event.MOUSE_DOWN:                     trace("press");                     e.target.startDrag()...

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

29. 请问 layaair2.0的js有没有api可以查询 例如Laya.Script [ 74%]

...发事件我摸索出来了   onMouseDown(e){ console.log("mouseDown "+e.target.name); } onMouseUp(e){ console.log("mouseup"); } 2018-10-29 0 0 分享 微博 QZONE 微信 coder 赞同来自: 可是 https://layaair.ldc.layabox.com/api 实在没有对js有什么描述,现在两眼一片黑,全靠...

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

30. layaair2-cmd 编译功能BUG [ 73%]

...hrome出现错误: Error processing launch: Error Could not attach to main target Laya中的宏编译要怎么用啊 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 TypeScript下HttpRequest发送Post请求有Bug? 微信小程序—未找...

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