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

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

301. TypeError: Cannot read property 'GetType' of null [ 52%]

...rror: Cannot read property 'btCollisionObject' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Cannot read property 'displayObject' of null Uncaught TypeError: Cannot read property 'props' of undefined...

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

302. Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget [ 52%]

...caught TypeError: Cannot read property 'props' of undefined 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught unknown animationClip version. 运行报错 Uncaught Can not find scene:GameView.scene undefined ...

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

303. 关于TTF字体加载 [ 52%]

...-02 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: ttf加载是通过样式自身的加载机制加载的,你可以在进入游戏的时候先定义一个文本,然后随便赋值一个内容来激活ttf字体的使用。帖子的使用是没问题的,你具体怎么用的可以提交下...

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

304. Image属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 52%]

...设置,下述示例代码演示了如何通过代码创建不同皮肤(样式)的Image, 有兴趣的读者可以自己通过代码设置Image,创建出符合自己需要的图片。 **示例代码:** ```javascript module laya { import Stage = Laya.Stage; import Image = Laya.Image; import...

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

305. TypeError: ele.render is not a function [ 52%]

...载unity插件导出的场景 physics3D is not a function 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Cannot read property 'props' of undefined Uncaught TypeError: Cannot read property 'load...

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

306. LayaAir IDE UI编辑器Label怎么使用自己的ttf字体文件? [ 52%]

...骤来操作的.但是font选项那里还是没有我自己生成的字体样式名,请问那里错了吗? freedom6718 • 2018-08-06 15:40 @z624697:自己手动填进去就行了,选项里是不会自动加进去的

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

307. Laya下的图片上传示例(完整版) [ 51%]

...t"); var img:any = Laya.Browser.document.createElement("img"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:0;width:200px;height:100px;background:url(b1.png) no-repeat center;cursor:pointer;"; file.type ="file";//设置类型是file类型。 file.size ="30"; file.accept="image/png/...

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

308. TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. [ 51%]

...方法吗 2.0.0编译报错Cannot find global type 'Array' 鼠标自定义样式官方有支持吗,Laya.Mouse.hide()会报Uncaught TypeError: Cannot read property 'cursor' of undefined错误 Failed to load resource: net::ERR_FILE_NOT_FOUND Uncaught TypeError: Cannot read property 'props' of undefi...

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

309. 对应不规则的progressbar背景设置九宫格后bar的位置调整无效 该怎么处理? [ 51%]

...思路。 Progress背景跟bar大小相同两张图,如果是可以拉伸样式的图片可以小一些。 不规则边框做成中间镂空的单独图片,放在Progress上面。。。 不用修改引擎里的东西。 但是这样有一个限制,边框不能超出Progress   引擎官方的P...

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

310. 如何使用graphics绘画虚线 [ 51%]

... 如果这种效果的话 可以通过  drawLine  来实现 下面 只是样式  变量 写活 应该满足     for(var i=1;i<40;i+=2){         sp.graphics.drawLine(1+(4*i), 58, 1+(4*i)+4, 58, "#ff0000", 3);     }          2017-04-24 1 0 分享 微博 QZONE 微信 cuixueyi...

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