大约有 175 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0036 秒)
Laya_社区(129) Laya2.0_文档(18) laya_api(7) Laya2.0_示例(7) Laya3.0_文档(6) Laya3.0_api(3) Laya_示例(3) Laya2.0_api(2)
...package flash.ui { public class Mouse { public function Mouse() { } public static function hide():void { } public static function show():void { } } } cuixueying • 2017-03-17 19:46 有没有例子,上传一个,我们看下!
来源: Laya_社区 发布时间: 20170317
...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
...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
...使用静态合并 在Unity中对需要使用静态合并的模型勾选 Static 静态选项导出即可。 (图1) 在导出后,正常使用导出后的场景(或预设)就能使用静态合并功能。 我们先来看一个简单的场景: (图2) 场景内容 然...
来源: Laya2.0_文档 发布时间: 20210714
...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_示例 发布时间: 20250312
...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_示例 发布时间: 20250312
...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
... 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
...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
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