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

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

41. AS语言 怎么调用MD5加密? [ 69%]

...MD5加密? AS语言怎么调用MD5加密?还有正则判断? private static function RegExpFunc(reg:RegExp,str:String):Boolean { var p:RegExp=reg; return p.test(str) ; } 2017-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

42. [LayaAir3]支付宝小游戏使用TTF字体异常 [ 69%]

...2024-05-15 0 2 分享 微博 QZONE 微信 devx 赞同来自:     private static applyFont(nativePath: string) {         alert("应用字体=>" + nativePath);         let fontName = my["loadFont"](nativePath) as string;         if (fontName) {             Laya.Config.defaultFon...

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

43. 静态合并(ActionScript-3D基础(AS3)-LayaAir3D之性能优化) [ 68%]

...使用静态合并 在Unity中对需要使用静态合并的模型勾选 Static 静态选项导出即可。 ![](img/1.png)(图1) 在导出后,正常使用导出后的场景(或预设)就能使用静态合并功能。 我们先来看一个简单的场景: ![](img/2.png)(图2) 场景内容 然...

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

44. UI-List [ 68%]

...Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.i...

来源: Laya2.0_示例 发布时间: 20241001

45. UI-List [ 68%]

...Box = Laya.Box; import Image = Laya.Image; class Item extends Box { public static WID: number = 373; public static HEI: number = 85; private img: Image; constructor(){ super(); this.size(Item.WID, Item.HEI); this.img = new Image(); this.addChild(this.img); } public setImg(src: string): void { this.i...

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

46. 用了Sprite3D.instantiate方法,在iPhone6上性能降低了80% [ 68%]

...ate方法,在iPhone6上性能降低了80% import s3d = Laya.Sprite3D;   static s3ds:{[key:string]:s3d;} = {};   static news3d(id):s3d{ return x.s3ds[id].clone() as s3d;//s3d.instantiate(x.s3ds[id]); }   static loads3d(id, path, handler=null):void{   s3d.load(path, Laya.Handler.create(null, fun...

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

47. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 68%]

... export module ui { export class GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/b...

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

48. Laya2.4版本,场景为内嵌时layaMaxUI类中没有声明场景中的Button等控件? [ 68%]

...port class GameSceneuiUI extends Laya.Scene {         public static  uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["co...

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

49. this.bitmap.activeResource is not a function [ 68%]

this.bitmap.activeResource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = n...

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

50. LayaAir项目发布Flash版本 报错 [ 67%]

...ibs\src\laya\utils\Browser.as:224] _window = RunDriver.getWindow(); public static var getWindow:Function = function():* { return __JS__('window'); } package { /** * @private */ public function __JS__(value:*):* { return null; } } 这是不再支持转flash版本的意思吗 2017-04-10 添加评论 ...

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