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

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

1031. laya.net.LocalStorage_API3.0 [ 52%]

...ned in laya/net/LocalStorage.ts:11 数据列表。 Static support support: boolean = false Defined in laya/net/LocalStorage.ts:15 表示是否支持 LocalStorage。 Methods Static clear clear(): void Defined in laya/net/LocalStorage.ts:74 清除本地存储信息。 Returns void Static getItem getIt...

来源: Laya3.0_api 发布时间: 20231115

1032. l龙骨动画内存上升 [ 52%]

...sAnimation(url:String,dragronX:Number,dragronY:Number,parent:Sprite,isLoop:Boolean):void{             var tem:Templet = new Templet();             var longgu:Skeleton;             tem.loadAni(url);             tem.on(Event.COMPLETE, this, function():void {     ...

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

1033. laya.display.cmd.FillTextureCmd_API3.0 [ 52%]

...y/cmd/FillTextureCmd.ts:42 (可选)贴图纹理偏移 percent percent: boolean Defined in laya/display/cmd/FillTextureCmd.ts:47 位置和大小是否是百分比 texture texture: Texture Defined in laya/display/cmd/FillTextureCmd.ts:18 纹理。 Optional type type: string Defined in laya/display...

来源: Laya3.0_api 发布时间: 20231115

1034. layaair3D导出场景错误TypeLoadException [ 52%]

...er.saveData () LayaExport.DataManager.getData () LayaAir3D.exportResource (Boolean isDebug) (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:435) LayaAir3D.OnGUI () (at Assets/LayaAir3D/LayaTool/LayaAir3D.cs:337) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Refle...

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

1035. 加载-销毁Texture使用的图片资源 [ 52%]

...niFly:Animation; private btn:Sprite; private txt:Text; private isDestroyed:Boolean = false; private readonly PathBg:string = "../../res/bg2.png"; private readonly PathFly:string = "../../res/fighter/fighter.atlas"; constructor() { //初始化引擎 Laya.init(Browser.clientWidth, Browser.clientHeight...

来源: Laya_示例 发布时间: 20260303

1036. list 添加引发问题,求助! [ 52%]

...; i < studentArr.length; i++) { var ob:Object = studentArr[i]; var bo:Boolean; (ob.signState)? bo=true:bo=false; (ob.signState)? str="已到":str="未到"; arr.push({name_txt:{text:ob.stuName}, state_txt:{text:str},sign_btn:{mouseEnabled:bo}, sign_btn:{gray:!bo}}); } thi...

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

1037. Sprite3D的克隆(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 52%]

...c instantiate(original: Sprite3D, parent: Node = null, worldPositionStays: Boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPosi...

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

1038. IOS15透明通道错乱 [ 52%]

...,整了个临时解决方案,有同样问题的可以试试 let isIphone: boolean let iphoneVer: number Laya.LayaEnv.beforeInit = () => { try { let md = new MobileDetect(navigator.userAgent); iphoneVer = md.version("iPhone") isIphone = Laya.Browser.onIPhone if (isIphone) { if (iphoneVer >= 15 ...

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

1039. laya.d3.core.particleshuriken.module.shape.BaseShape_API3.0 [ 52%]

...建一个 BaseShape 实例。 Returns BaseShape Properties enable enable: boolean = true Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:26 是否启用。 randomDirection randomDirection: number = 0 Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:28 随机方...

来源: Laya3.0_api 发布时间: 20231115

1040. 为什么SOCKET接收数据BYTE内存会越来越大 [ 52%]

...不用这个缓存读数据, 就可以把 socket的属性 disableInput:Boolean = false; 的值设为true 如果没有解决问题,请附上demo 或更详细的信息,以供排查问题   2017-12-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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