大约有 2,654 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
Laya_社区(2024) Laya3.0_api(163) laya_api(112) Laya2.0_api(107) Laya2.0_文档(82) Laya_示例(68) Laya2.0_示例(51) Laya3.0_文档(47)
...tor3.distance(this.transform.position, this.AroundPos); Laya.stage.on(Laya.Event.MOUSE_DOWN, this, this.mouseDown); Laya.stage.on(Laya.Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.on(Laya.Event.MOUSE_UP, this, this.mouseUp); Laya.stage.on(Laya.Event.MOUSE_WHEEL, this, this.mouseWheel) } onUpd...
来源: Laya_社区 发布时间: 20190224
...在3d场景中应该怎样实现? Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false Ignored attempt to cancel a touchmove event with cancelable=false islooping的false和true的切换 3D物体active从false设置为t...
来源: Laya_社区 发布时间: 20171224
... this._data=data; this.event(/*laya.events.Event.PROGRESS*/"progress",0.5); return this._loadImage(this._url.replace(".fnt",".png")); }else { var bFont=new Bitma...
来源: Laya_社区 发布时间: 20190402
...碰撞体a和b,a为运动学刚体,b为静态刚体,二者均有Laya.Event.TRIGGER_ENTER 和 Laya.Event.TRIGGER_EXIT 的监听,通过修改a的position使其与b进行接触,以实现触发触发器监听,在3.2.2中时是可以触发的,在3.3.0.beta.1中不可以。 附件 : --> ...
来源: Laya_社区 发布时间: 20250121
...le.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.sanguoh5.com:800...
来源: Laya_社区 发布时间: 20201023
...3-4-1 其中,加载dom音频报错,怎么回事? package{import laya.events.Event;import laya.net.HttpRequest;import laya.net.Loader;import laya.utils.Browser; public class Main{private var AudioContext:Object;private var audioContext:Object;private var analyser:Object;private var audioBuffer...
来源: Laya_社区 发布时间: 20181023
...来放置到项目的src目录下。 参考:private function init(e:Event=null):void { var loader:Loader=new Loader(); var context:LoaderContext=new LoaderContext(false,ApplicationDomain.currentDomain); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onCom); loader.load(new URLReques...
来源: Laya_社区 发布时间: 20151216
...%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert("response=" + response); // 成功输出:{"ret":1478136071} } function c...
来源: Laya_社区 发布时间: 20161103
...All Classes | Index | Frames No Frames SliderProperties | Methods | Events Packagelaya.uiClasspublic class SliderInheritanceSlider Component Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选...
来源: laya_api 发布时间: 20170929
... private init():void { //添加点击事件处理 this.v_btn_boy.on(Laya.Event.CLICK, this, this.onClickBtnBoy); this.v_btn_friend.on(Laya.Event.CLICK, this, this.onClickBtnFriend); this.v_btn_shop.on(Laya.Event.CLICK, this, this.onClickBtnShop); console.log("init main scene"); } //点击羁绊 priv...
来源: Laya_社区 发布时间: 20180312