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

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

371. Sprite-新手引导 [ 53%]

...nteractionArea, hitArea, tipContainer, guideStep = 0; class Sprite_Guide { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1285, 727, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.s...

来源: Laya2.0_示例 发布时间: 20241001

372. TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling [ 53%]

...请: 与内容相关的链接 提交 1 个回复 12345老虎 赞同来自: const这个不是定义不可变么 2019-01-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 shadow 相关问题 laya2.0加载3d场景报错Uncaught TypeError: C...

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

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

374. 单选框组组件 · LayaAir3.0文档 · LAYABOX [ 52%]

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

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

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

376. 取色器组件 · LayaAir3.0文档 · LAYABOX [ 52%]

...类,通过代码设定ColorPicker相关的属性。示例代码如下: const { regClass, property } = Laya; @regClass() export class UI_ColorPicker extends Laya.Script { private skin: string = "atlas/comp/colorPicker.png"; constructor() { super(); } // 组件被激活后执行,此时所有节...

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

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

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

379. 预制体模块 · LayaAir3.0文档 · 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_文档 发布时间: 20240106

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