大约有 272 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0062 秒)
...only] 返回鼠标在此对象坐标系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node page : int 列表的当前页码。 List parent : Node[read-only] 父节点。Node pivotX : NumberX轴 轴心点的位置,单位为...
来源: Laya2.0_api 发布时间: 20190513
...nt:75a15c8ae08fcf4a65640c78c2578b4181749a28fb6e405f2c308bac5f091db1 Module name:com.layabox.game Version:1.0 VersionCode:1 PreInstalled:No Foreground:No Pid:19883 Uid:20010080 Reason:TypeError Error name:TypeError Error message:Cannot read property getContext of undefined Stacktrace: Cannot get Sour...
来源: Laya_社区 发布时间: 20250106
...g, data:*, params:Array):void[override] private StandardMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _addDisablePublicShaderDefine(value:int):void 增加禁用...
来源: laya_api 发布时间: 20170929
... IEditor.GUIUtils.createInspectorPanel(); Editor.typeRegistry.addTypes([ { name : "MyPanelType", //请注意,名字是全局唯一的,一定要长 properties : [ { name : "text", type : "string" }, { name : "count" , type: "number" }, { name : "actions", inspector: "Buttons", options : { buttons...
来源: Laya3.0_文档 发布时间: 20251010
...if it is null or you should not destroy the object. UnityEngine.Object.get_name () (at C:/buildslave/unity/build/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:189) n.a (UnityEngine.Mesh A_0, System.String A_1, System.Boolean A_2) (at <8191b0b4723d4658b95c167f60d265c8>:0) n.c () (at &l...
来源: Laya_社区 发布时间: 20201218
...= 1[static] Video muted : Boolean 获取和设置静音状态。 Video name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node OGG : int = 2[static] Video optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默...
来源: laya_api 发布时间: 20170929
... 参考抖音小游戏官方文档。 打印的参数的意义分别是: name:分包的名字; progress:分包下载进度百分比; totalBytesWritten:已经下载的数据长度,单位 Bytes; totalBytesExpectedToWrite:预期需要下载的数据总长度,单位 Bytes。 Copyrigh...
来源: Laya3.0_文档 发布时间: 20251010
...dIndex = 1; //也可以使用页面的名称设置 c1.selectedPage = "page_name"; //获得控制器当前的活动页面 console.log(c1.selectedIndex); //还有更简单的方式改变控制器页面 aWidget.setPage("c1", 1); 控制器改变时有通知事件: c1.on(Laya.Event.CHANGED, ()=> { c...
来源: Laya3.0_文档 发布时间: 20251010
模型导入设置一、模型的导入与设置1.1 支持导入的模型格式1.2 导入后模型的基础使用1.3 对导入模型的属性修改1.4 提取模型内部资源二、模型的场景(Scene)导入设置说明2.1 模型单位转换convert Units2.2 模型缩放scale Factor2.3 导入模...
来源: Laya3.0_文档 发布时间: 20251010
...= 1[static] Video muted : Boolean 获取和设置静音状态。 Video name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node OGG : int = 2[static] Video parent : Node[read-only] 父节点。Node paused : Boolean[read-only] 返回视频是否暂停 Video p...
来源: Laya2.0_api 发布时间: 20190513