大约有 275 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0107 秒)
...哪个场景作为入口。 1.1 设置启动场景 我们先来介绍如何通过构建发布设置启动场景。 首先在文件导航菜单中打开 构建发布 面板。然后在通用栏中,找到资源选项的启动场景设置项, 通过输入框右侧的场景选择器选择目标场...
来源: Laya3.0_文档 发布时间: 20251216
...的输入处理系统的特性有: 3.1 2D和3D统一接口, 都可以通过事件监听方式和Laya.Script命名函数方式处理输入。例如: this.aNode.on(Laya.Event.CLICK, ()=> { console.log("clicked"); }); class MyScript extends Laya.Script { //脚本事件 onMouseClick(e:Event) { ...
来源: Laya3.0_文档 发布时间: 20251010
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115
... “动效模板”, 动效模板是基于时间轴的动画效果,通过预设动画效果,然后把效果附加给某个组件。使得组件无需编码,却轻松实现与编码相同的动画效果。动效模板不能独立显示,仅可作为动效模板让UI页面中的组件获得...
来源: Laya_社区 发布时间: 20171211
...sortingFudge没有效果,如何更改渲染层级? laya里面有没有通过一个类的名字(字符串)来获取该类的方法?类似get class by name layaair-cmd 编译提示 ReferenceError: primordials is not defined 更改资源路径的URL MeshSprite3D对象更改Mesh 自定义组件发...
来源: Laya_社区 发布时间: 20171213
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Image[read-only] 获取进度条对象。 ProgressBar bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String...
来源: laya_api 发布时间: 20170929
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 ...
来源: Laya3.0_api 发布时间: 20231115
...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优...
来源: Laya3.0_api 发布时间: 20231102
...Defined in laya/display/Node.ts:630 如果有需要延迟调用的函数(通过 callLater 函数设置),则立即执行延迟调用函数。 see #callLater() Parameters method: Function 要执行的函数名称。例如,functionName。 Returns void setChildIndex setChildIndex(node: Node, ind...
来源: Laya3.0_api 发布时间: 20231115