大约有 251 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0055 秒)
Laya_社区(152) Laya2.0_文档(25) Laya3.0_文档(24) laya_api(14) Laya2.0_api(13) Laya3.0_api(11) Laya2.0_示例(8) Laya_示例(4)
... stephysun 赞同来自: 假如说类似这种的话可以不? <input type="file" id="file" /> <span>上传文件</span> </label> <canvas width="300" height="300" id="canvas"></canvas> </body> <script> $("#file").change(function (){ var file = new Fi...
来源: Laya_社区 发布时间: 20170111
...需要显示Tips或属性的中文别名等完整功能需求 @property({ type: String, caption: "IDE显示用的别名", tips: "这是一个文本对象,只能输入文本哦" }) public text1: string = ""; //装饰器属性类型的简写方式,适用于只定义类型的需求 @property(String...
来源: Laya3.0_文档 发布时间: 20251010
...wScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此...
来源: Laya3.0_文档 发布时间: 20251010
...der(e:MouseEvent,index:int):void { // TODO Auto Generated method stub if(e.type==MouseEvent.CLICK) { if(index==2) { trace("okla") } } } } } 2015-12-24 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 haliluya 相关问题 分享:自定...
来源: Laya_社区 发布时间: 20151224
...ice.getInstance().startOnlyRecordAudioMessage (mChatRoomId, YIMService.ChatType.RoomChat); } }; new Thread() { public void run() { m_Handler.post(mRunnable0); } }.start(); } private void stopAndSendAudio(){ final Runnable mRunnable0 = new Runnable() { @Override public void run() { YIMService.getInst...
来源: Laya_社区 发布时间: 20170722
... 释放unity导入的骨骼动画模型时报错 laya.d3.js:41972 Uncaught TypeError: Cannot read property 'off' of null at SkinnedMeshRenderer.__proto._destroy (laya.d3.js:41972) at SkinnedMeshSprite3D.__proto.destroy (laya.d3.js:34884) at SkinnedMeshSprite3D.__proto.destroy (laya...
来源: Laya_社区 发布时间: 20191015
...你可以在mouseHandler下对鼠标事件进行判断和使用,譬如e.type=Event.CLICK,对事件类型进行判断,然后进行逻辑的实现! 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 182*****278 相关问题 ...
来源: Laya_社区 发布时间: 20180124
...XMLHttpRequest(); xhr.open("get", "res/atlas/comp.png", true); xhr.responseType = "arraybuffer"; xhr.onload = function () { if (this.status == 200) { var blob = new Blob([this.response], { type: "image/png" }); var img = document.createElement("img"); img.onload = function (e) { window.URL.revokeObj...
来源: Laya2.0_文档 发布时间: 20210715
...ent):void { trace("connectHandler:" + e.type); s.writeUTF("Hello,World!");//这儿改成 writeUTFBytes s.flush(); } ...
来源: Laya_社区 发布时间: 20160810
...t;>>The network has changed 07-04 20:55:27.714: I/0(7884): connected type=1 07-04 20:55:27.715: W/EGL_emulation(7884): eglSurfaceAttrib not implemented 07-04 20:55:27.715: W/OpenGLRenderer(7884): Failed to set EGL_SWAP_BEHAVIOR on surface 0x9bafc7c0, error=EGL_SUCCESS 07-04 20:55:27.752: E/(78...
来源: Laya_社区 发布时间: 20190704