大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0188 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...代码在浏览器里都可以正常运行,打包后才会出现问题 public function send(type:String,url:String,callbackName:String):void { this.type = type; //发送请求 var script:* = Browser.createElement("script"); script.id = "serverlist"; Browser.document.head.appendChild(script); scrip...
来源: Laya_社区 发布时间: 20180209
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/ChainCollider" ChainCollider Class ChainCollider 2D线形碰撞体 Hierarchy ColliderBase ChainCollider Index Constructors constructor P...
来源: Laya3.0_api 发布时间: 20231115
...染表现,可以通过scale缩放,来表现慢镜头*/ public static var scaleTimer:Timer = null; 你再试试scaleTimer,我这边没有现成的动画来看效果 2017-12-13 1 9 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定,...
来源: Laya_社区 发布时间: 20171213
...ya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new Laya.Sprite(); } this._openZone.size(Laya.stage.width,Laya.stage.height); if(this._openZ...
来源: Laya_社区 发布时间: 20200618
....utils.Browser; import laya.utils.Handler; /** * ... * @author Survivor */ public class InputDevice_Map { // 百度地图 private var map:*; private var marker:*; private var BMap:* = Browser.window.BMap; private var convertor:* = new BMap.Convertor(); // Div private var mapDiv:*; private var infoTe...
来源: Laya2.0_示例 发布时间: 20260106
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/HierarchyResource" Prefab Class Prefab Hierarchy Resource Prefab PrefabImpl Index Constructors constructor Properties _id destroyedImme...
来源: Laya3.0_api 发布时间: 20231115
...写了渲染方法 // 重写渲染函数 public customRender(context:Laya.RenderContext,x:number,y:number):void{ if(this.shader._program) { let u_lightTime = gl.getUniformLocation(this.sha...
来源: Laya_社区 发布时间: 20181121
...= mX; this.isDown = true; } private mouseUp():void{ this.isDown = false; } public rotate(vec:Laya.Vector3):void{ this.entity.transform.rotate(vec,true,false); } 2018-01-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 ...
来源: Laya_社区 发布时间: 20180113
...ent.body.appendChild(script); script.src = "http://localhost:9090/?a=1"; } public static onComplete():void{ console.log("JSONP执行到这里"); } } new LayaSample(); ``` ```java var script:any = Laya.Browser.createElement("script");//这句话的含义是创建一个脚本的标签,原生的所...
来源: Laya2.0_文档 发布时间: 20210715
....completeHandler) { this.completeHandler.runWith(this); } } //改变表情 public changeEmoji(emoji:string):void{ if (emoji) { this.emoji=emoji; } if (!this.emojiArr || !this.emojiArr[this.emoji]) { //如果表情不存在则使用默认第一个 this.emoji = this.skeleton.getAniNameByIndex(0); } th...
来源: Laya_社区 发布时间: 20180824