大约有 160 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
...Laya.Script { private aStarInstance: AStarFinder; onStart() { console.log("Game start"); // 0表示通路,1表示障碍 let myMatrix = [ [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 1, 1, 0, 1, 1, 0], [0, 0, 1, 0, 0, 0, 1, 0], [0, 0, 0, 0, 0, 0, 1, 0], [1, 1, 1, 0, 1, 0, 1, 0], [0, 0...
来源: Laya3.0_文档 发布时间: 20251010
...关了,模型也是黑的,unity编辑模式有光,你看着就亮,game背景改成黑的也就跟着暗了 LM20081991 • 2017-12-28 15:48 @Laya_Aaron: 我现在在unity中把光改成了Baked 在LayaAir中还是很暗? LM20081991 • 2017-12-28 15:49 @Laya_Aaron: 我现在在unity中把...
来源: Laya_社区 发布时间: 20171228
...小程序报错window.focus is not a function 启动引擎报错 mPlugin.game_plugin_init(3); 问题状态 最新活动: 2017-11-08 15:47 浏览: 1117 关注: 2 人 wudi199553 • 2017-11-08 15:49 你建的是3d项目啊 GamingSpree • 2017-11-08 15:52 @wudi199553:=。=哼哼,不仔细看图和...
来源: Laya_社区 发布时间: 20171108
... var socket:Socket = new Socket(); socket.on(Socket.OPEN, this, this._$game_open_handler); socket.on(Socket.CLOSE, this, this._$game_close_handler); socket.on(Socket.IO_ERROR, this, this._$game_io_error_handler); socket.on(Socket.DATA, this, this._$game_data_handler); private _$game_...
来源: Laya_社区 发布时间: 20161109
...tivity中的initEngine方法中的设置入口页面方法改成了mPlugin.game_plugin_set_option("gameUrl", "http://stand.alone.version/index_native.html"); 然后再运行layanative refreshres 这样应该是可以的吧 2018-03-10 0 0 分享 微博 QZONE 微信 qian 赞同来自: 你...
来源: Laya_社区 发布时间: 20180310
...用以及游戏入口模块的启动。 ```html <script data-main="js/GameMain" src="./require.js" defer async="true"></script> ``` ## 适配AMD 增加LayaAir引擎适配模块`adapter.ts`,每一个LayaAir的类都要增加一个适配。比如`Laya.EventDispatcher`: ```ts export const...
来源: Laya_社区 发布时间: 20170817
...;>>>>>>>>>>>>>>className:layaair.game.utility.ProcessInfo,methodName:getTotalMem >>>>>>>>>>>>before 12-09 22:04:33.106 12728-12832/? E/LayaBox: >>>>>>>>>>>>after 12-09 22:04:33.1...
来源: Laya_社区 发布时间: 20181209
...个静态函数 对外暴露给web调用者。 public static function getGameName():String { return "myGame"; } } } ``` 编译运行,然后我们打开浏览器控制台,然后输入`JSDemo.getGameName()` 发现输出了`"myGame"`,如图3所示。表明调用成功,由此实现了和web...
来源: Laya2.0_文档 发布时间: 20210715
... specified. 2018-11-26 18:31:47.346 4749-4749/com.layabox.dotJourney E/LayaGameEngine: game_plugin_set_option key=localize value=false 2018-11-26 18:31:47.346 4749-4749/com.layabox.dotJourney E/LayaGameEngine: game_plugin_set_option key=gameUrl value=http://106.15.95.203:20100/web/index.html 2018-11...
来源: Laya_社区 发布时间: 20181126
...aring violation on path C:\xxxxxxxxxx\LayaScene_levels\Conventional\Assets\Game\mat\mat-red.lmat System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions o...
来源: Laya_社区 发布时间: 20200109