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

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

741. 鼠标交互-自定义事件 [ 76%]

...a.Tween; import WebGL = Laya.WebGL; export class Interaction_CustomEvent { public static ROTATE: string = "rotate"; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya....

来源: Laya_示例 发布时间: 20260106

742. 骨骼动画-藤蔓 [ 76%]

...ht,WebGL); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes5/vine.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this....

来源: Laya_示例 发布时间: 20260106

743. laya.display.EffectAnimation [ 76%]

...ationProperties | Methods | Events | Constants Packagelaya.displayClasspublic class EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而...

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

744. 骨骼动画-橡胶人 [ 76%]

...ht,WebGL); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes4/stretchyman.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError)...

来源: Laya_示例 发布时间: 20260106

745. 苹果审核发现使用了私有API [ 76%]

...架。 被拒的内容是: Your app uses or references the following non-public APIs: - PrivateFrameworks/BackBoardServices.framework The use of non-public APIs is not permitted on the App Store because it can lead to a poor user experience should these APIs change. Continuing to use or conceal no...

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

746. 在Unity中设置动画事件(ActionScript-3D基础(AS3)-LayaAir3D之Animator动画) [ 76%]

...ent.Script3D; class SceneScript extends Script3D { //用于表现的方法 public var showMsgFunc:Function; public function SceneScript() { } //对应unity添加的AnimationEvent的动画事件函数,名字是可以对应上的 public function ShowMsg():void { trace("ShowMsg"); showMsgFunc && show...

来源: Laya2.0_文档 发布时间: 20210715

747. Cannot read property 'load' of null [ 76%]

...ce(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=new MapManager(); this.s_instance.init(); } return this.s_instance; } private init() { } private skins: Array<string>; private mapImg:...

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

748. 设置滤镜(ActionScript-LayaAir基础篇(AS3)-位图) [ 76%]

...rt laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Main { private const ApePath:String = "res/img/monkey1.png"; private var apeTexture:Texture; public function Main() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight,...

来源: Laya2.0_文档 发布时间: 20210715

749. 骨骼动画-多纹理 [ 76%]

...r.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "res/spine/spineRes1/dragon.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFac...

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

750. laya.media.SoundNode [ 76%]

... No Frames SoundNodeProperties | Methods | Events Packagelaya.mediaClasspublic class SoundNodeInheritanceSoundNode Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默...

来源: laya_api 发布时间: 20170422