• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,288 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)

941. 游戏界面适配,一直为横屏,并且游戏界面显示不全,需要怎么才能改为竖屏呢? [ 71%]

...,并且游戏界面显示不全,需要怎么才能改为竖屏呢? index.js里面 window.screenOrientation = "portrait"; index.html里面 <meta name='laya' screenorientation='portrait' /> 还有视图界面F9设置中的设置如下: 场景适配模式:showall 场景横竖屏:verti...

来源: Laya_社区 发布时间: 20190529

942. 动画-旧版骨骼动画 [ 71%]

...历节点,播放动画 public playSkinAnimation(spirit3D: Laya.Sprite3D, index: number): void { if (spirit3D instanceof Laya.MeshSprite3D) { var meshSprite3D: Laya.MeshSprite3D = spirit3D as Laya.MeshSprite3D; var skinAni: Laya.SkinAnimations = meshSprite3D.getComponentByType(Laya.SkinAnimations) as...

来源: Laya_示例 发布时间: 20251209

943. laya.d3.graphics.MeshInstanceGeometry_API3.0 [ 71%]

Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/MeshInstanceGeometry" MeshInstanceGeometry Class MeshInstanceGeometry Hierarchy GeometryElement MeshInstanceGeometry Index C...

来源: Laya3.0_api 发布时间: 20231102

944. laya.d3.terrain.Terrain [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TerrainProperties | Methods | Events Packagelaya.d3.terrainClasspublic class TerrainInheritanceTerrain Sprite3D Node EventDispatcher Object Terrain 类用于创建地块。 Public Properties Hide Inherited Public Proper...

来源: Laya2.0_api 发布时间: 20190513

945. 请问ByteBuffer怎么使用? [ 71%]

...问ByteBuffer怎么使用? 我看工程里有 bytebuffer.js , 我也在index.html 里添加了<script type="text/javascript" src="libs/byteBuffer.js"></script>,但是还是用不了这个类 2017-06-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...

来源: Laya_社区 发布时间: 20170628

946. app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 [ 71%]

...1-09 20:50:15.573 ZhuaWawa[2531:1863829]  require(/sdcard/layabox/scripts/index.js) 2018-01-09 20:50:15.575 ZhuaWawa[2531:1863829] found the file in the package:scripts/index.js 2018-01-09 20:50:15.580 ZhuaWawa[2531:1863829]  ======================================================   2018-01-09 20...

来源: Laya_社区 发布时间: 20180109

947. 请问TS项目下代码js的版本应该如何管理? [ 71%]

...TS代码文件翻译成js后,会作为script标签,自动被添加到index.html里面。   请问对于发布到外网的版本,如何对这些TS代码添加版本管理以达到热更的目的?   如果手动在src路径后面加上版本号,比如: <script src="js/scene.js?v=1.01"...

来源: Laya_社区 发布时间: 20191017

948. 发布版本无法构建,JS代码没有混淆没有压缩,报错了 [ 71%]

...来自: 看提示说发布时要找一个js文件但找不到 确认一下index里的js文件引用 js是否在在就可以了  有一种可能是修改了启动的文件的名字index没有做出相应的修改 2017-11-01 0 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 你把混...

来源: Laya_社区 发布时间: 20171101

949. laya.ui.Panel [ 71%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PanelProperties | Methods | Events Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Propert...

来源: laya_api 发布时间: 20170929

950. ts加密md5码封装 [ 71%]

...= "string") target = target.split(""); let result: any[] = target.map( (_, index: number) => index % step === 0 ? Array.from(Array(step).keys()).map((x: number) => target[index + x]) : [] ) .filter((x: any[]) => x.length > 0); if (markString) result = result.map((x: any[]) => x.join("...

来源: Laya_社区 发布时间: 20190321