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

大约有 1,144 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0064 秒)

401. args.slice is not a function [ 72%]

...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function...

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

402. Clip组件Bug:Play方法无法结束循环 [ 72%]

...s);         if (interval != void 0) {             this.interval = interval;         }          this.on(Laya.Event.COMPLETE, this, () => {             this.destroy();         });         this.frameIndex = 0;       ...

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

403. 同步龙骨插槽动画方案 [ 72%]

...ring, handler: Laya.Handler, aniMode: number = 0) {         this._handler = handler;         this.mFactory = new Laya.Templet();         this.mFactory.on(Laya.Event.COMPLETE, thisthis.parseComplete, [aniMode]);         this.mFactory.loadAni(url);   ...

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

404. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 72%]

...     //关闭效果     hideEffect(): void {         Laya.Tween.to(this,{y:Laya.stage.height,alpha:0},200,Laya.Ease.linearIn);              }   import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = L...

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

405. 关于下拉列表的选择触发 [ 72%]

关于下拉列表的选择触发 this.small_map.selectHandler = new Laya.Handler(this, onSelect_small); this.big_map.selectHandler = new Laya.Handler(this, onSelect_big); function onSelect_small(e) { Laya.big_switch = 0 Laya.maptype = "small" this.now_map.text = "当前地图:" + this.small_map....

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

406. 使用IDE制作的动画在pc模拟器播放OK在手机端不显示 [ 72%]

...的动画在pc模拟器播放OK在手机端不显示 loaded : function(){ this.loader = Laya.loader; this.loader.retryNum = 0;//无加载重试 this.urls = ['imgdebris/imgdebris.atlas','imgdebris/p1_slj.png',]; // this.loader.load(this.urls[0], Laya.Handler.create(this, this.onAssetloaded)); this.lo...

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

407. Animation动画鼠标点击事件不起作用? [ 72%]

...         private var m_btn_auto:Button;   m_mc_trade.on(Event.CLICK,this,onBtnClick); m_btn_auto.on(Event.CLICK,this,onBtnClick); 我有设置了点击事件了,但在点击事件onBtnClick内console.log('s')没有打印出来。而挂机按钮的就可以打印得到。这是怎么回事...

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

408. args.slice is not a function [ 72%]

...序报错window.focus is not a function 调用动画结束on方法,报错this.zombieAnimator.on is not a function laya加载unity插件导出的场景 physics3D is not a function 用微信开发者调试的时候出现document.createTextNode is not a function api readFile success callback function...

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

409. 圆不跟谁 sprite 一起缩放? [ 72%]

...GameMain{ constructor() { Laya.init(Browser.width, Browser.height, WebGL); this.CreateCircle(); // this.CreateRectangle(); } private firstSp: Laya.Sprite; private _adaptSp: Laya.Sprite; private _pointList : Point[]; private _rootSp : Laya.Sprite;  public CreateCircle() { this._rootSp = new Laya.Spr...

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

410. 高级应用-寻路导航 [ 72%]

...发语言、LayaAirIDE让项目开发更高效。Laya3D.init(0, 0, true); this._position = new Laya.Vector3(0, 0, 0); this._upVector3 = new Laya.Vector3(0, 1, 0); this._tarPosition = new Laya.Vector3(0, 0, 0); this._finalPosition = new Laya.Vector3(0, 0, 0); this._quaternion = new Laya.Quaternion();...

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