• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 787 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0116 秒)

571. laya.ui.DialogManager [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames DialogManagerProperties | Methods | Events Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器...

来源: Laya2.0_api 发布时间: 20190513

572. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 52%]

...,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Conventional/bull....

来源: Laya_社区 发布时间: 20200720

573. 动画节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...中用代码对Animation进行控制了,示例代码如下: const { regClass, property } = Laya; @regClass() export class Animation extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Animation }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(...

来源: Laya3.0_文档 发布时间: 20251010

574. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...结合1.3节的脚本控制,在脚本中输入如下代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "...

来源: Laya3.0_文档 发布时间: 20251010

575. laya.ui.FontClip [ 52%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames FontClipProperties | Methods | Events Packagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图...

来源: Laya2.0_api 发布时间: 20190513

576. Android替换游戏启动logo看不到设置的图片 [ 52%]

...t laya.net.Loader; import laya.utils.Handler; import view.TestView; public class LayaUISample { private var dd:*; public function LayaUISample() { //初始化引擎 Laya.init(600, 400); //判断是否在加速器端 __JS__("if(window.conch)") { //获取loadingview的实例 dd=__JS__("window.loadingV...

来源: Laya_社区 发布时间: 20160918

577. laya.ui.CheckBox_API3.0 [ 51%]

...Inherited Externals Only exported Menu Globals "laya/ui/CheckBox" CheckBox Class CheckBox CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dataSource赋值时的...

来源: Laya3.0_api 发布时间: 20231115

578. laya.ui.Button_API3.0 [ 51%]

...All Inherited Externals Only exported Menu Globals "laya/ui/Button" Button Class Button Button 组件用来表示常用的多态按钮。 Button 组件可显示文本标签、图标或同时显示两者。 * 可以是单态,两态和三态,默认三态(up,over,down)。 example 以下示例代码...

来源: Laya3.0_api 发布时间: 20231115

579. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 51%]

...下添加一个自定义组件脚本,并添加如下代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2...

来源: Laya3.0_文档 发布时间: 20251010

580. laya.ui.UIGroup [ 51%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames UIGroupProperties | Methods | Events Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布...

来源: Laya2.0_api 发布时间: 20190513