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

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

1321. List组件拖动浏览时item会出现重叠的现象 [ 47%]

...ya.ui.List; export class ListDataSourceMediator { constructor() { } public setUp():void { var list: List = new List(); // 渲染的item list.itemRender = ListDataSourceItem; // 设置行列显示的item个数 list.repeatX = 1; list.repeatY = 4; // list居中显示 list.x = (Laya.stage.width - ListDa...

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

1322. laya.net.URL [ 47%]

...public static function get basePath():String    public static function set basePath(value:String):voidcustomFormatproperty public static var customFormat:Function 自定义URL格式化的方式。例如: customFormat = function(url:String):String{} exportSceneToJsonproperty public static var...

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

1323. 内存释放问题 [ 47%]

...any, showCompleteFun: Function): void { ResUIModuleManager.poolModulResDic.set(bigao.Utils.GlobalUtils.getClassNameClass(className), { resNames: resAltlasName, time: Laya.timer.currTimer }); ResUIModuleManager.loadModuleByName(resAltlasName, className, (cn) => { let sv: any = ui.UIControl.instanc...

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

1324. 多摄像机窗口的使用(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 47%]

...的视口 与 `viewport` 屏幕像素坐标的视口 这两个都是 get/set方法。所以在修改摄影机视口参数时不能单纯的知识修改视口参数,还需要对视口重新赋值。 > 动态修改摄影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第...

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

1325. httprequest ios手机上请求提示Request failed status:0 [ 47%]

...(如果状态是UNSENT或者OPENED,返回0) 2、If the error flag is set, return 0.(如果错误标签被设置,返回0)   前面提到,服务器在完成请求之后会在 XMLHttpRequest 的 onreadystatechange 属性中查找要调用的方法。这是真的,但还不完整。事...

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

1326. laya.utils.Byte [ 47%]

...方法为: writeUTFString 。 Byte  writeArrayBuffer(arraybuffer:*, offset:uint = 0, length:uint = 0):void 将指定 arraybuffer 对象中的以 offset 为起始偏移量, length 为长度的字节序列写入字节流。 如果省略 length 参数,则使用默认长度 0,该方法将从 o...

来源: laya_api 发布时间: 20170929

1327. 引擎能打包成html页面,然后直接用手机webview加载吗? [ 47%]

...里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 LayaAir使用AS语言能直接挂断点吗? 问题状态 最新活动: 2017-07-07 17:32 浏览: 2091 关注: 3 人 156*****915 • 2018-12-25 14:57 遇到了同样的问题,我也...

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

1328. Unity2.10.0beta插件报错 [ 47%]

Unity2.10.0beta插件报错 NullReferenceException: Object reference not set to an instance of an object o.c (UnityEngine.GameObject A_0) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.k (UnityEngine.GameObject A_0, c A_1) (at <174bbe38e5444724b5b9eeb4600df769>:0) o.a (UnityEngine.GameObje...

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

1329. js进度,进度,js场景进度效果 [ 47%]

...as/lucky8.json", "res/atlas/lucky8/lewinlineicons.json", "res/atlas/lucky8/setting.json", "res/atlas/lucky8/setView.json", "res/atlas/lucky8/kj.json", "res/atlas/lucky8/mh.json", "res/atlas/lucky8/light.json", "res/atlas/lucky8/jinbi.json", "res/atlas/lucky8/bonus.json", "res/atlas/lucky8/kuang.json...

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

1330. laya.ui.TextArea [ 46%]

...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...

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