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

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

51. HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 [ 84%]

... { this.http = new Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //数据传输完成后,会返回一个data this.http.once(Laya.Event.ERROR,this,this.onError); //...

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

52. laya.resource.Resource_API3.0 [ 84%]

...re HTMLCanvas BitmapFont Prefab Material Mesh Texture AtlasResource AnimationClip AnimatorController AnimationClip2D AnimatorController2D TextResource AnimationTemplet ParticleTemplate2D SpineTemplet Index Properties _id destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpu...

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

53. laya.physics.Physics_API3.0 [ 84%]

...Count getContactCount getJointCount hasListener off offAll offAllCaller on once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.ts:39 Returns Physics Properties box2d box2d: any = (<any>window).box2d Defined in laya/phy...

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

54. laya.d3.component.animator.AnimatorState_API3.0 [ 83%]

... cloneTo event getScript getScripts hasListener off offAll offAllCaller on once Constructors constructor new AnimatorState(): AnimatorState Defined in laya/d3/component/Animator/AnimatorState.ts:157 创建一个 AnimatorState 实例。 Returns AnimatorState Properties _isLooping _isLooping: 0 | 1 | ...

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

55. window 下接收不到事件,Click,EnterFrame都接受不到 [ 83%]

...的方法,请求官方帮助, 点击事件不起效 3d物理不能触发onCollisionEnter事件 问题状态 最新活动: 2018-06-11 17:10 浏览: 708 关注: 2 人 黄进 • 2018-06-11 17:23 啥意思? Content.once(Event.CLICK,this,OnMouseDown); Content.once(Event.MOUSE_OUT,this,OnMouseDown); ...

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

56. 高级应用-基于物理渲染 [ 83%]

...ild(Laya.Scene.load("../../res/threeDimen/scene/PBRScene/Demo.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { var camera = scene.getChildByName("Camera"); camera.addComponent(CameraMoveScript); });class PBRDemo { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya...

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

57. iOS wkWebView [ 83%]

...id { console.log("connect...."); this.hr = new Laya.HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.send('http://tdev.sanguo...

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

58. laya.events.EventDispatcher [ 83%]

...事件。 EventDispatcher  off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher  offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器...

来源: laya_api 发布时间: 20170929

59. laya.events.EventDispatcher [ 83%]

...事件。 EventDispatcher  off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher  offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器...

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

60. Laya.Handler.create 加载图片回调参数问题 [ 83%]

...ublic static function create(caller:*, method:Function, args:Array = null, once:Boolean = true):Handler {             if (_pool.length) return _pool.pop().setTo(caller, method, args, once);             return new Handler(caller, method, args, once);         }   看...

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