大约有 256 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0062 秒)
...only] 返回鼠标在此对象坐标系上的 Y 轴坐标信息。 Sprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node optimizeScrollRect : Boolean 指定是否对使用了 scrollRect 的显示对象进行优化处理。默认为false(不优化)。 当值...
来源: laya_api 发布时间: 20170929
...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
...字的子节点,通常会调用如下方法来获取子节点 getChildByName("xxx") /** * 根据子节点的名字,获取子节点对象。 * @param name 子节点的名字。 * @return 节点对象。 */ getChildByName(name: string): Node { for (let child of this._children) { if (child &&am...
来源: Laya3.0_文档 发布时间: 20240624
...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_文档 发布时间: 20240918
...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_文档 发布时间: 20240528
...= 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
...者在发布后,需要更改game.json中的内容,如图4-7所示,将name改为单一目录名。 (图4-7) 此时,在代码中加载分包,不要通过路径加载,而改为使用分包名进行加载: Laya.loader.load("subname1/Cube.lh").then((res) => { // ...... }); Laya.loade...
来源: Laya3.0_文档 发布时间: 20240926