大约有 726 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0060 秒)
Laya_社区(429) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(31) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(7)
...nes=tCode.split("\n"); tStr=tCodeLines.shift(); while(tStr.indexOf("export module")<0){ tStr=StringTool.trimSide(tStr); if(preStr.indexOf(tStr)<0){ preStr+=tStr+"\n"; } tStr=tCodeLines.shift(); } if(i==0){ tCodeLines.splice(0,0,tStr); } if(i!=len-1){ tStr=tCodeLines.pop(); while(tStr.indexOf("...
来源: Laya_社区 发布时间: 20190531
...olor); Laya.stage.addChild(this.sprite); } } new TiledMap_IsometricWorld();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import MapLayer = Laya.MapLayer; import TiledMap = Laya.TiledMap; import Point = Laya.Point; import Rectangle = Laya.Rectangle; import Handler = Laya.Handl...
来源: Laya2.0_示例 发布时间: 20260303
...tyEngine.Rect clippingRect, System.Boolean isComputingLayout) (at D:/unity/Modules/UIElements/IMGUIContainer.cs:266) UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, Unit 2019-12-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20191209
...; } onComplete() { console.log("播放完成"); } } new Sound_SimpleDemo();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; ...
来源: Laya2.0_示例 发布时间: 20260303
...nComplete)); } function onComplete() { console.log("播放完成"); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; import Browser = Laya.Browser; import Handler = Laya.Handler; ...
来源: Laya_示例 发布时间: 20260303
...: 1 / (Laya.stage.clientScaleY * Laya.stage._canvasTransform.d) }); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; import Render = Laya.Render; export class Physics_NewtonsCradle { private stageWidth: number = 80...
来源: Laya_示例 发布时间: 20260303
...小 tiledMap.changeViewPort(mX, mY, Browser.width, Browser.height); } })();module laya { import Stage = Laya.Stage; import TiledMap = Laya.TiledMap; import Rectangle = Laya.Rectangle; import Browser = Laya.Browser; import Handler = Laya.Handler; import Stat = Laya.Stat; import WebGL = Laya.WebGL; ex...
来源: Laya_示例 发布时间: 20260303
...onMouseUp(e) { Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadia...
来源: Laya_示例 发布时间: 20260303
...addChild(TestClipNum); Laya.stage.addChild(clipnum1); } } new Font_Clip(); module laya{ import Stage=Laya.Stage; import FontClip=Laya.FontClip; import Image=Laya.Image; import WebGl=Laya.WebGL; export class Font_Clip{ private TestClipNum:string="res/comp/fontClip_num.png"; private _ClipNum:string="r...
来源: Laya2.0_示例 发布时间: 20260303
...长,游戏打开的速度会越来越慢。 ## AMD AMD是"Asynchronous Module Definition"的缩写,意思就是"异步模块定义"。这是目前最流行的JavaScript/TypeScript代码的管理方式。本文末尾的参考资料列表中包含了更多关于AMD的信息。AMD可以帮助我们...
来源: Laya_社区 发布时间: 20170817