大约有 1,191 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(429) Laya_社区(256) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(29) Laya2.0_示例(6) Laya_示例(6)
...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
...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
...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
...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
...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
...; 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
...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
...,整了个临时解决方案,有同样问题的可以试试 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
...建一个 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
...不用这个缓存读数据, 就可以把 socket的属性 disableInput:Boolean = false; 的值设为true 如果没有解决问题,请附上demo 或更详细的信息,以供排查问题 2017-12-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...
来源: Laya_社区 发布时间: 20171214