大约有 2,945 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1043) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(76)
API DocumentationAll Packages | All Classes | Index | Frames No Frames PoolMethods Packagelaya.utilsClasspublic class PoolInheritancePool Object Pool 是对象池类,用于对象的存贮、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃...
来源: laya_api 发布时间: 20170929
D.TS访问问题 declare module common_lib{ class ByteArray extends com.tengxun.utils.ByteArray{} class ParserUtil extends com.utlis.ParserUtil{} class MathR extends com.utlis.MathR{} } 我是仿照layaAir.d.ts来写的,这些代码上面还有ByteArray这些类的declare。奇怪的是: declar...
来源: Laya_社区 发布时间: 20180412
扩展脚本问题,麻烦帮看下 module game { export class testbox extends Laya.Box { constructor(){ super(); console.log(this.getChildByName('btnName')) } } export class testImg extends Laya.Image { constructor(){ super(); console.log(this.getChildByName('name')) console.log(this) } } } 我...
来源: Laya_社区 发布时间: 20180724
... this.init(); } //注册类 BackGround Laya.class(BackGround, "BackGround", laya.display.Sprite); 问题: 1.Laya.class(BackGround, "BackGround", laya.display.Sprite); 这种写法是什么意思, Laya.class(BackGround, "BackGround", laya.display.Sprite) 是...
来源: Laya_社区 发布时间: 20170311
编译的时候报错 Undefined symbols for architecture arm64: "_OBJC_CLASS_$_conchConfig", referenced from: objc-class-ref in GameReadingViewController.o "_OBJC_CLASS_$_conchRuntime", referenced from: objc-class-ref in GameReadingViewController.o "_OBJC_IVAR_$_conch...
来源: Laya_社区 发布时间: 20190508
新手入坑请教下各位大神关于LayaMaxUI问题 /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { ex...
来源: Laya_社区 发布时间: 20190402
...zation.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr...
来源: Laya_社区 发布时间: 20171208
... Externals Only exported Menu Globals "laya/renders/RenderInfo" RenderInfo Class RenderInfo author laya Hierarchy RenderInfo Index Properties loopCount loopStTm Properties Static loopCount loopCount: number = 0 Defined in laya/renders/RenderInfo.ts:9 主舞台 Stage 渲染次数计数。 Static loop...
来源: Laya3.0_api 发布时间: 20231115
...xternals Only exported Menu Globals "laya/d3/core/TextureMode" TextureMode Class TextureMode Hierarchy TextureMode Index Properties Stretch Tile Properties Static Stretch Stretch: number = 0 Defined in laya/d3/core/TextureMode.ts:6 拉伸模式。 Static Tile Tile: number = 1 Defined in laya/d3/core...
来源: Laya3.0_api 发布时间: 20231102
...ernals Only exported Menu Globals "laya/display/cmd/RestoreCmd" RestoreCmd Class RestoreCmd 恢复命令,和save配套使用 Hierarchy RestoreCmd Index Properties ID Methods recover Properties Static ID ID: string = "Restore" Defined in laya/display/cmd/RestoreCmd.ts:8 Methods recover recover(): v...
来源: Laya3.0_api 发布时间: 20231115