大约有 1,655 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(676) Laya3.0_api(364) Laya2.0_api(194) laya_api(158) Laya2.0_文档(80) Laya3.0_文档(71) Laya_示例(58) Laya2.0_示例(54)
...进制编码为空字符串 */ public static function downLoadFile(fileUrl:String, fileType:String = "",callBack:Handler = null,encoding:String = "ascii"):void ``` #### 3、清除缓存文件 由于微信小游戏的缓存上限是50M物理空间,所以无论自动管理缓存还是手动管理缓...
来源: Laya2.0_文档 发布时间: 20210714
...d not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String A_1, System.Boolean A_2) (at <f23f19a62c944610ba98639869d48a79>:0) n.b () (at <f23f19a62c944610ba98639869d48a79>:0) n.b (System.String A_0) (at <f23f19a62c944610ba98639869d48a79>:0) LayaAir3D.exportRe...
来源: Laya_社区 发布时间: 20210607
...ateLabel("#0080FF", "#00FFFF").pos(290, 150); } private createLabel(color: string, strokeColor: string): Label { const STROKE_WIDTH: number = 4; var label: Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { la...
来源: Laya2.0_示例 发布时间: 20260303
...ler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "../../res/ui/button-7.png"; private clipSkin: string = "../../res/ui/num0-9.png"; private bgSkin: string = "../../res/ui/coutDown.png"; private counter: Clip; private currFrame: number; private controller: Button; c...
来源: Laya_示例 发布时间: 20260303
...ame": "Chen"}'); traceMsg(test['id']); traceMsg(test['name']); var jsonURL:String = "res/json/config.json"; traceMsg("加载: " + jsonURL); Laya.loader.load(jsonURL, Handler.create(this, readJsonFinish, [jsonURL]), null, Loader.JSON); } private function readJsonFinish(url:String = null):void { trace...
来源: Laya_社区 发布时间: 20180227
...s.createText('right', 3, "#FF7F50", 210, 290); } private createText(align: string, underlineWidth: number, underlineColor: string, x: number, y: number): Text { var txt: Text = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n 面向AS/JS/TS开发者提供...
来源: Laya2.0_示例 发布时间: 20260303
...:EditOption, option:"aaa,bbb,true", default:"bbb"}*/ public editOptionType:string = "bbb";这样使用字符串是可以的,但是我现在需要显示自己定义的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeEffect = 2 }; function ENUM_ChangeString(enumObject) { let reslut=""; for (...
来源: Laya_社区 发布时间: 20191029
... var p:HTMLDivElement = new HTMLDivElement(); var html:String = "<span color='#e3d26a'>使用</span>"; p.innerHTML = html; 然后我如何才能从p中获取"<span color='#e3d26a'>使用</span>". 2017-03-07 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170307
...ndler; import WebGL = Laya.WebGL; export class UI_ComboBox { private skin: string = "../../res/ui/combobox.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode ...
来源: Laya_示例 发布时间: 20260303
...app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2785) 06-27 18:03:47.977 27945-27945/com.twand.kozhanji I/art: at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, androi...
来源: Laya_社区 发布时间: 20180627