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

大约有 490 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)

341. 二次开发 异步回调没反应 [ 65%]

二次开发 异步回调没反应 ts: /**视频广告 */ public static showVideoAd(success: Laya.Handler, type: string): void { if (GameConfig.ins.isDev) { success.runWith(1); return; } var VGUtil = Laya.PlatformClass.createClass("com.szdn.game.fkzy.VGUtil"); VGUtil.callWithBack(back, "showVideoAd...

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

342. laya.particle.Particle2D [ 65%]

...Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha...

来源: laya_api 发布时间: 20170929

343. Loader.load加载json类型的资源,完成后调用Loader.clearRes后,并不能真正释放资源的bug [ 65%]

...ader.clearRes后,并不能真正释放资源的bug demo: class NewTest { public static url: string = "333.json"; private loadedMap; constructor() { this.loadedMap = Laya.Loader["loadedMap"];  Laya.init(720, 1280, Laya.WebGL); Laya.Stat.show(0,0); Laya.stage.alignH = "center"; Laya.stage.alignV = ...

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

344. laya.ani.bone.Skeleton [ 65%]

...o Frames SkeletonProperties | Methods | Events Packagelaya.ani.boneClasspublic class SkeletonInheritanceSkeleton Sprite Node EventDispatcher Object 骨骼动画由Templet,AnimationPlayer,Skeleton三部分组成。 Public Properties Hide Inherited Public Properties Show Inherited Public Proper...

来源: laya_api 发布时间: 20170929

345. 加载-销毁Texture使用的图片资源 [ 65%]

...mport laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Loader_ClearTextureRes { private var spBg:Sprite; private var aniFly:Animation; private var btn:Sprite; private var txt:Text; private var isDestroyed:Boolean = false; private const PathBg:String = "../../res/bg2....

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

346. laya.resource.Texture [ 65%]

...No Frames TextureProperties | Methods | Events Packagelaya.resourceClasspublic class TextureInheritanceTexture EventDispatcher Object Texture 是一个纹理处理类。 Public Properties PropertyDefined By  bitmap : Texture2D 获取位图。 Texture  destroyed : Boolean[read-only] 获取是...

来源: Laya2.0_api 发布时间: 20190513

347. laya.net.Loader [ 65%]

...es LoaderProperties | Methods | Events | Constants Packagelaya.netClasspublic class LoaderInheritanceLoader EventDispatcher Object Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Public Properties PropertyDefined By  cache : Boolean[read-only] 是否缓存。Load...

来源: laya_api 发布时间: 20170929

348. laya.ani.swf.MovieClip [ 65%]

...o Frames MovieClipProperties | Methods | Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties P...

来源: Laya2.0_api 发布时间: 20190513

349. laya.particle.Particle2D [ 65%]

...Frames Particle2DProperties | Methods | Events Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By activ...

来源: Laya2.0_api 发布时间: 20190513

350. [LayaAir3]Laya3.0 中设置舞台背景透明无效 [ 65%]

...vate _view: HTMLDivElement = document.createElement("div");           public Show(): void {         Laya.Browser.document.body.appendChild(this._view);         this._view.appendChild(this.iframe);          this.iframe.src = "https://www.layabox.com/";         this.iframe.style....

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