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

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

71. Spine骨骼动画点击区域偏移 获取不到width height [ 69%]

...获取不到width height  下面是模型文件   private _factory: Laya.Templet;  constructor(spine, x, y, speed) {         this._factory = new Laya.Templet();         this._factory.loadAni(`../bin/res/spine_model/${spine}.sk`);         this._factory.on(Laya.Event.COMPLETE, this, thi...

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

72. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 67%]

...g.lm"))); var skinAni4 = mesh4.addComponent(Laya.SkinAnimations); skinAni4.templet = Laya.AnimationTemplet.load("xiong/xiong2.lsani"); skinAni4.player.play(); mesh4.transform.localPosition = new Laya.Vector3(-2, 0,0); mesh4.transform.localScale = new Laya.Vector3(30,30,30); var mesh =scene.addChild(...

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

73. laya.ani.AnimationPlayer_API3.0 [ 67%]

...Time destroyed overallDuration paused playDuration playEnd playStart state templet Methods event hasListener off offAll offAllCaller on once play playByFrame stop Constructors constructor new AnimationPlayer(): AnimationPlayer Defined in laya/ani/AnimationPlayer.ts:268 创建一个 AnimationPlayer ...

来源: Laya3.0_api 发布时间: 20231115

74. clas not a constructor [ 66%]

...lement 报错"Illegal constructor",请问这个该怎么处理? new Laya.Templet() 时,说这不是一个constructor 一直报 GamePage is not a constructor 急求解决 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor TypeError: Laya.MovieClip is not a constructor Laya.H...

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

75. sk动画无法使用 [ 65%]

...    然后说Skeleton 对象不能创建 这个问题 很蒙圈   Laya.Templet  也不能被new 出来 不知道哪位大神知道原因    let sk = new Laya.Skeleton(); Laya.stage.addChild(sk);  sk.load(this.aniUrl);   附件 : --> 2019-04-09 添加评论 免费帖 --> 分享 微博 QZONE...

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

76. 龙骨动画-拖拽-点击区域HitArea设置问题 [ 64%]

...同来自: 你的核心代码如下:function parseComplete(){ skeleton = templet.buildArmature(1); skeleton.pos(400,600); skeleton.on(Laya.Event.MOUSE_DOWN, this, dragFunc); Laya.stage.addChild(skeleton); skeleton.play(0,true); rectangle = skeleton.getBounds(); var hitArea = new Laya.HitArea(); va...

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

77. 加载学堂3D角色资源,播放动画异常 [ 63%]

...数调用后出错。!!!     Warning: discard property,please use templet property instead.   2018-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 道道 赞同来自: 是不是学堂中的资源结...

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

78. 如何实例化保存在 object中的 Class [ 63%]

...mo的没有?感觉官网上的有点太简单。 JS 无法实例化 Laya.Templet 为什么这样没办法移除音效实例 Laya 2.7.0beta Scene与脚本的onAwake()与onEnable()调用时机存在问题 问题状态 最新活动: 2017-10-11 15:38 浏览: 1097 关注: 2 人 Monica • 2017-10-11 16...

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

79. 龙骨动画的监听回调,有时能回调,有时不能回调 [ 63%]

...default class DdzLandlordAni extends SingleBase{   private mFactory: Laya.Templet = null; public isFinish = false; private mArmatureUsed:Array<Laya.Skeleton> = []; private mArmatureUnUsed:Array<Laya.Skeleton> = [];  public static getInstance():DdzLandlordAni{ return this.instance(DdzLa...

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

80. "window.Background is not a constructor" [ 62%]

...lement 报错"Illegal constructor",请问这个该怎么处理? new Laya.Templet() 时,说这不是一个constructor 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor clas not a constructor LayaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector...

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