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

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

91. laya.utils.Pool [ 86%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PoolMethods Packagelaya.utilsClasspublic class PoolInheritancePool Object Pool 是对象池类,用于对象的存贮、重复使用。 合理使用对象池,可以有效减少对象创建的开销,避免频繁的垃...

来源: laya_api 发布时间: 20170929

92. D.TS访问问题 [ 86%]

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

93. 扩展脚本问题,麻烦帮看下 [ 86%]

扩展脚本问题,麻烦帮看下  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

94. 这个写法是什么意思,能否解释一下,谢谢 [ 85%]

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

95. 编译的时候报错 [ 85%]

编译的时候报错 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

96. 新手入坑请教下各位大神关于LayaMaxUI问题 [ 84%]

新手入坑请教下各位大神关于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

97. 骨骼挂点图片不展示的问题 [ 84%]

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

98. laya.renders.RenderInfo_API3.0 [ 84%]

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

99. laya.d3.core.TextureMode_API3.0 [ 84%]

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

100. laya.display.cmd.RestoreCmd_API3.0 [ 84%]

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