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

大约有 558 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0042 秒)

391. 怎么获取完全限定类名,就像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

392. 使用3D UI · LayaAir3.3 · 引擎文档 · 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_文档 发布时间: 20250310

393. 预制体模块 · 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

394. 混合模式-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_示例 发布时间: 20250315

395. 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

396. 预制体 · LayaAir3.3 · 引擎文档 · 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_文档 发布时间: 20250310

397. 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

398. 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

399. 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

400. WebGL模式下用遮罩实现圆形头像会有警告出现 [ 52%]

...  代码示例: this.img = new Laya.Image(); this.img.loadImage("url"); const mask = new Laya.Sprite(); mask.graphics.drawCircle(75, 75, 75, "#ffffff"); this.img.mask = mask; this.img.pos(Laya.stage.width / 2, Laya.stage.height / 2); Laya.stage.addChild(this.img); 附件 : --> 2017-01-06 添加...

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