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

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

131. runTime使用(JavaScript-IDE篇(JS)-组件化开发相关) [ 49%]

...这两个UI界面,代码如下所示: ```typescript import GameConfig from "./GameConfig"; class Main { constructor() { //根据IDE设置初始化引擎 if (window["Laya3D"]) Laya3D.init(GameConfig.width, GameConfig.height); else Laya.init(GameConfig.width, GameConfig.height, Laya["WebGL"]); Lay...

来源: Laya2.0_文档 发布时间: 20210715

132. 模拟石头下落过程不明抖动 [ 48%]

...下来观察看看,下面贴上代码import './aui/aui'; import { Game } from './public/Game'; import Stage = Laya.Stage; export class TexasMain{ private balls:Laya.Sprite = ; constructor(){ Config.isAntialias = true // alert("宽"+Laya.Browser.clientWidth+"高"+Laya.Browser.clientHeight ); // Laya....

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

133. 构建apk后,java报错 [ 48%]

...11-26 18:31:48.223 4749-4838/com.layabox.dotJourney E/LayaBox: Erorr! _loadFromAssets returns incorrect contents! what happened! 2018-11-26 18:31:50.158 783-848/? E/ANDR-PERF-OPTSHANDLER: perf_lock_rel: updated /sys/class/mmc_host/mmc0/clk_scaling/enable with 1      return value 2 2018-11-26 18:3...

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

134. [LayaAirIDE3]xcode切入切出声音不播放 [ 47%]

....wav");             });         }     }   import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void; enum SoundType {     BGM,     Effect,     Dialogue, } export class SoundManager...

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

135. 3D中摄像机绕物体旋转该如何实现? [ 47%]

...lesTemp: Vector3 = new Vector3(); /// <summary> /// Current distance from camera to target. /// </summary> public CurrentDistance: number; /// <summary> /// Camera target angls. /// </summary> protected targetAngles: Vector3 = new Vector3(); /// <summary> /// Target dis...

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

136. 官方案例里摄像机绕物体旋转脚本的问题 [ 47%]

...lesTemp: Vector3 = new Vector3(); /// <summary> /// Current distance from camera to target. /// </summary> public CurrentDistance: number; /// <summary> /// Camera target angls. /// </summary> protected targetAngles: Vector3 = new Vector3(); /// <summary> /// Target dis...

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

137. 关于LayaBox启动的问题。 [ 44%]

...loadEventLog] D/Analytics.DBMgr.4837.621( 4837): [find] DBMgr,sql:SELECT * FROM log ORDER BY priority DESC , time DESC LIMIT 20 D/Analytics.LogStoreMgr.4837.621( 4837): [get] LogStoreMgr,[get]: D/Analytics.UploadMgr$4.4837.621( 4837): [onUploadExcuted],mCurrentUploadInterval:30000 D/Analytics.Commit...

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

138. 用模块器报错,真机不会有这个问题,具体看补充 [ 43%]

... com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755) Disconnected from the target VM, address: 'localhost:8613', transport: 'socket' 模拟器运行会报这个错误,但是真机是正常的,请问是什么原因呢? 附件 : --> 2017-02-16 添加评论 免费帖 --> 分享 微博 QZ...

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

139. 深入理解LayaAir引擎架构和实现原理(一)跨平台引擎源码编译 [ 43%]

...FileSync("outConfig.json")); this.BaseURL = emiter_1.emiter.BaseURL = json.from; this.outfile = json.out; this.createAS = json.createAS; this.layajsURL = json.layajsURL; this.tsCongfig = json.tsConfig; this.filterArr = json.filter; emiter_1.emiter.jscObj = json.jscObj; // yield相当于await if (!th...

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

140. 3D物理系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...脚本。示例代码如下: //引入自定义脚本TSDemo import TSDemo from "./TSDemo"; /** * TypeScript语言示例 */ export default class GameUI extends GameUIBase { /* ……省略若干代码 */ private addBox(): void { //创建盒型体 let box = new Laya.Sprite3D; let boxMesh = box.addCom...

来源: Laya3.0_文档 发布时间: 20251010