大约有 842 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
Laya_社区(496) Laya3.0_api(111) Laya3.0_文档(70) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(30) Laya2.0_示例(9)
...下: . ├── package.json ├── laya.cannon.js └── editorResources └── cannon.png laya.cannon.js 是示例用的引擎库文件名,开发者可根据 cannon.png是安装包的图标,需要注意的是,这个包图标必须要放到editorResources下才会能被安装包...
来源: Laya3.0_文档 发布时间: 20251010
... 2.LayaAir的编译流程 打开LayaAirIDE的文件夹 LayaAirIDE_beta\resources\app\out\vs\layaEditor\laya\code\ts\empty我们创建空项目时会应用这个套模板,直接再IDE中编译时会使用IDE自带的node环境和插件。 在.laya/compile.js中可知道使用的是gulp和rollup...
来源: Laya_社区 发布时间: 20200918
... = new Vector2(); this.resPath.push(newVec); } //预加载所有资源 var resource: ILoadURL[] = [{ url: "res/threeDimen/scene/TerrainScene/XunLongShi.ls", priority: 1 }, { url: "res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", priority: 1 }, { url: "res/threeDimen/scene/TerrainScene/Assets/Heig...
来源: Laya3.0_文档 发布时间: 20230303
...isplay.Text; import laya.events.Event; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class LayaAirDemo { private var templete:Templet;//动画模板类 private var skeleton:Skeleton;...
来源: Laya_社区 发布时间: 20170324
...ass Sprite3DInheritanceSprite3D Node EventDispatcher ObjectImplements laya.resource.ICreateResourceSubclasses BaseCamera, LightSprite, RenderableSprite3D, Terrain Sprite3D 类用于实现3D精灵。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined ...
来源: Laya2.0_api 发布时间: 20190513
...gine: js项目文件与libs引擎库目录,是项目代码和类库。 resources: 资源目录和资源文件,小游戏由于初始包的限制,建议将初始包的内容在规划好,最好能放到统一的目录下,便于初始包的剥离。 game.js: vivo小游戏的入口文件...
来源: Laya3.0_文档 发布时间: 20251010
...Laya.TextArea(); this.logger.scrollType = 2; this.logger.vScrollBarSkin = "resources/res/ui/vscroll.png"; this.logger.fontSize = 18; this.logger.color = "#FFFFFF"; this.logger.align = 'center'; this.logger.valign = 'middle'; this.logger.left = this.logger.right = this.logger.bottom = 10; this.logger...
来源: Laya3.0_文档 发布时间: 20251010
...*  (图5) **iOS XCode:**  (图6)IOS是resource目录 #### 4.4 更新服务器 这是App发布后最常见的操作。每当更新了html5项目的内容,需要提交到服务器或者本地测试的时候,都要生成新的dcc,以便客户端能更新到最...
来源: Laya2.0_文档 发布时间: 20210714
...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.models.Mesh; import laya.display.Stage; import laya.events.Event; import laya.ui.Button; import laya.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @auth...
来源: Laya_示例 发布时间: 20251209
...间 http.http.timeout = 10000; //发送了一个简单的请求 http.send("resources/data.txt", "", "get", "text");//需要在resources文件夹下新建一个data.txt文件 //设置完成事件,添加回调方法 http.once(Laya.Event.COMPLETE, this, this.completeHandler); //设置错误事件,...
来源: Laya3.0_文档 发布时间: 20250104