大约有 558 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0042 秒)
Laya_社区(175) Laya2.0_示例(114) Laya2.0_api(91) Laya3.0_文档(87) laya_api(48) Laya_示例(24) Laya2.0_文档(16) Laya3.0_api(3)
...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
...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
...希望把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
...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
...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
...希望把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
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
... 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
... 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
... 代码示例: 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