大约有 2,911 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1721) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(89) Laya2.0_示例(16) Laya_示例(11)
...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Button }) public uiBtn: Laya.Button; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.uiBtn.on(Laya.Even...
来源: Laya3.0_文档 发布时间: 20251010
...或拓展 public static var getUrlAndEncode:Function = function(url:String,type:String):String { if (url.indexOf(".fnt") != -1 || url.indexOf("xxx.json") != -1) { return "utf8"; } else if (type == "arraybuffer") { return ""; } return "ascii"; } 2018-01-15 0 0 分享 微博 QZONE 微信 liwenhua 赞...
来源: Laya_社区 发布时间: 20180115
...: /** @prop {name:dropBox,tips:"掉落容器预制体对象",type:Prefab}*/ dropBox: Laya.Prefab; 其他还有哪做了加载? 一位不愿意透露姓名的无头像者 • 2018-10-25 15:13 @Laya_Aaron:我要使用脚本赋值的话 除了写一个ts文件 ,prop暴露属性,设计...
来源: Laya_社区 发布时间: 20181024
...e uint16ArraySlice uint8ArraySlice Legend Object literal Variable Function Type alias Class Class with type parameter Static property Static method Enumeration Interface
来源: Laya3.0_api 发布时间: 20231115
...戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file. a...
来源: Laya_社区 发布时间: 20180228
Unity 导出预设报错 InvalidCastException: Cannot cast from source type to destination type. r.a (UnityEngine.GameObject A_0, .i A_1, Boolean A_2) r.a (UnityEngine.GameObject A_0, .i A_1, System.Collections.Generic.List`1 A_2) r.a (UnityEngine.GameObject A_0, .i A_1, .i A_2, Vector3 A_3, Quater...
来源: Laya_社区 发布时间: 20190429
...lue changeScissor changeViewport drawRenderElement Legend Class Class with type parameter Constructor Property Method Accessor Object literal Variable Function Type alias Enumeration Interface Static property
来源: Laya3.0_api 发布时间: 20231115
...ServerListView,"ServerListView",_super); var _proto_ = ServerListView.prototype; //选择列表项时的相应时间,参数index是选中项的下标 // _proto_.onSelect = function(index){ // console.log("index",index); // } _proto_.onMouse = function(e,index){ if(e.type == Laya.Event.CLICK){ //co...
来源: Laya_社区 发布时间: 20170805
... read property 'apply' of undefined;at socketTask.onopen callback function TypeError: Cannot read property 'apply' of undefined at Function.eof (http://127.0.0.1:25423/game/code.js:53674:69) at Type.setup (http://127.0.0.1:25423/game/code.js:59330:33) at Type.encode_setup [as encod...
来源: Laya_社区 发布时间: 20180815
... all, ios, android_eclipse, android_studio,wkwebview][默认值: all] | `--type, -t` | 创建类型 [0: 不打资源包 1: 打资源包 2: 单机版本] [默认值: 0] | `--url, -u` | 游戏地址 [当t为0或者1的时候,必须填,当t为2的时候,不用填写] | `--name, -n` | 项目名称...
来源: Laya2.0_文档 发布时间: 20210715