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

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

311. protobuf使用 [ 67%]

...QZONE 微信 asdf131 赞同来自: xxx.ProtoBuf.loadProto(".proto 文件的string数据").build('包名(就是.proto 文件里的包名)').消息名(message后面的) ; 2017-03-05 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 参考下官网这个示例:http://layaair.ldc.layabox.co...

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

312. ENOENT: no such file or directory, open 'D:\layaidehello eleasewxgameLayaSample.js.map [ 66%]

..._easy_perform failed和JCFileRes::onDownloadError file error fatal error: 'string' file not found Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format add shader include file err, has add:Lighting.glsl,这个问题是什么,我就一...

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

313. module写法的模块无法使用,其他地方使用会报错 [ 66%]

...------------------------ module AM{ export class AC { public static myname:string = "I'm AC!"; } } export default AM; b.ts ---------------------------- module AM{ export class BC { public static myname:string = "I'm BC!"; } } export default AM; c.ts -------------------------- import AM from './a'; /...

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

314. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 66%]

... > 通过引用来导入着色器代码 ```typescript var simpleShaderVS:String = __INCLUDESTR__("customShader/simpleShader.vs"); var simpleShaderFS:String = __INCLUDESTR__("customShader/simpleShader.ps"); ``` > 初始化shader ```typescript //初始化我们的自定义shader public static function...

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

315. mac10.13下转换工具不支持LayaJSMac [ 66%]

...ylib: terminating with uncaught exception of type std::out_of_range: basic_string 2017-11-04 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cllc55 赞同来自: 没问题了,是路径空格问题 2017-11-04 0 0 ...

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

316. 怎么将图片转换成base64格式 [ 65%]

...():void { var img:Texture = Laya.loader.getRes("hall/111.png"); var encode:String = Base64ImageTool.getBase64Pic(img); } 2017-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: zhuijie ...

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

317. AS翻译成JS的时候能不能自动进行类型转换啊?不然每个地方都要手动在AS进行手动添加强制转换 [ 65%]

... 因为本来我期待的是一个int类型的值 但是JS给过来的是String类型的值 Monica • 2017-10-27 16:47 https://ldc.layabox.com/doc/?nav=zh-as-0-3-3 这个文档是我们总结的部分与AS3原生的差异 momo199059 • 2017-10-27 17:40 就是第一条差异, 我的意思是将AS...

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

318. 如何劫取地址的部分字符串 [ 65%]

...址,然后通过字符串截取得到你想要的部分字符串,譬如string.substr() 2017-03-06 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yonghua5416 相关问题 关于适配采用showAll后留白部分的颜色问题 我用l...

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

319. 如何制作渐变progressBar [ 65%]

...yabox.com/doc/?nav=zh-as-2-3-12 as的源码 public function set skin(value:String):void { if (_skin != value) { _skin = value; _bg.skin = _skin; _bar.skin = _skin.replace(".png", "$bar.png"); callLater(changeValue); } }   2018-04-08 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被...

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

320. 动画不显示 [ 65%]

...   private var m_mapLayer:Sprite;         private var m_MapImgUrl:String;         private var m_Role:Animation;         private var m_RolePosition:Point = new Point(1200,1000);         private var m_MovStartPos:Point = new Point();         private var m_MovDistanceX:i...

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