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

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

411. laya.ui.Dialog [ 52%]

...es | Index | Frames No Frames DialogProperties | Methods | Events | Constants Packagelaya.uiClasspublic class DialogInheritanceDialog View Scene Sprite Node EventDispatcher Object Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UICon...

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

412. 单选框组容器组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 52%]

...中。需要添加如下的示例代码,实现脚本控制RadioGroup: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.RadioGroup }) public radiogroup: Laya.RadioGroup; //组件被激活后执行,此时所有节点和组件均...

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

413. 怎么获取完全限定类名,就像as的getQualifiedClassName [ 52%]

...3667 赞同来自: 只限基于ActionScript的项目,基于ts的嗝屁  const a = new Laya.Event() Laya.__classmap['laya.events.Event'] == a.constructor //true   2017-08-10 0 0 分享 微博 QZONE 微信 宇智波 旋 赞同来自: /**返回指定对象的完全限定名 */ static getQualifiedCl...

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

414. 使用3D UI · LayaAir3.4 · 引擎文档 · LAYABOX [ 52%]

...2D预制体的根节点上添加Runtime类,添加逻辑代码如下: const { regClass } = Laya; import { BloodBarBase } from "./BloodBar.generated"; import { Main } from "./Main"; @regClass() export class BloodBar extends BloodBarBase { onAwake(): void { this.bar.value = 1; this.value.visible = ...

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

415. 预制体模块 · LayaAir3文档 · LAYABOX [ 52%]

...希望把Title预制体放到Box下 (动图3-5) 示例代码如下: const { regClass, property } = Laya; @regClass() export class ScriptA extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type: Laya.Box } ) private box: Laya.Box; constructor() { super(); } onStart(): void { /...

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

416. 混合模式-Lighter [ 52%]

...l: number = 2000; private bgColorChannels: any = { r: 99, g: 0, b: 0xFF }; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(this.phoenixWidth * 2, this.phoenixHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "sh...

来源: Laya_示例 发布时间: 20260303

417. 2.0打包apk崩溃报错,有堆栈 也是在so里面 [ 52%]

...ExecuteSwitchImpl<false, false>(art::Thread*, art::DexFile::CodeItem const*, art::ShadowFrame&, art::JValue)+62039) [x86] 6 #05 pc b27cb9b4 <unknown>      native版本 2.5.0  引擎版本2.5.0 2020-08-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

418. LAYAAIR加载SWF无线循环 [ 52%]

LAYAAIR加载SWF无线循环    private const SheepSWFPath:String = "res/swf/sheep3.swf";   Laya.init(1136, 640);         //  Laya.stage.alignV = Stage.ALIGN_MIDDLE;         //  Laya.stage.alignH = Stage.ALIGN_CENTER;             Laya.stage.screenMode = Stage.SC...

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

419. laya.ui.UIUtils [ 52%]

... Packages | All Classes | Index | Frames No Frames UIUtilsMethods | Constants Packagelaya.uiClasspublic class UIUtilsInheritanceUIUtils Object UIUtils 是文本工具集。 Public Methods  MethodDefined By  addFilter(target:Sprite, filter:IFilter):void[static] 给指定的目标显示对...

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

420. laya.ui.UIUtils [ 52%]

... Packages | All Classes | Index | Frames No Frames UIUtilsMethods | Constants Packagelaya.uiClasspublic class UIUtilsInheritanceUIUtils Object UIUtils 是文本工具集。 Public Methods  MethodDefined By  addFilter(target:Sprite, filter:IFilter):void[static] 给指定的目标显示对...

来源: laya_api 发布时间: 20170929