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

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

281. config.jsh中无法使用confirm [ 69%]

...////////////////////////////////java////////////////////////////////////// public static void showError(){ Log.e("showerror","show"); new AlertDialog.Builder(MainActivity.my_activity).setTitle("error" ).setMessage("加载游戏失败,可能由于您的网络不...

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

282. laya.ui.Box [ 69%]

...| Frames No Frames BoxProperties | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox Component Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, Tree, UIGroup, View, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited P...

来源: laya_api 发布时间: 20170929

283. laya.d3.resource.DataTexture2D [ 69%]

... No Frames DataTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class DataTexture2DInheritanceDataTexture2D BaseTexture laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By defaulteTexture : BaseTexture[read-...

来源: laya_api 发布时间: 20170929

284. laya.net.HttpRequest [ 69%]

... No Frames HttpRequestProperties | Methods | Events Packagelaya.netClasspublic class HttpRequestInheritanceHttpRequest EventDispatcher Object HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求以及普通的 GET 请求...

来源: laya_api 发布时间: 20170929

285. [LayaAirIDE3]2d相机打包后问题 [ 69%]

...ss Main extends Laya.Script {     @property({ type: Laya.Sprite })     public player: Laya.Sprite;      @property({ type: Laya.Sprite })     public joystick: Laya.Sprite;      @property({ type: Laya.Sprite })     public map: Laya.Sprite;      @property({ type: Laya.Sprite })     p...

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

286. 没有人尝试使用3d物理引擎么 [ 69%]

...t threeDimen.common.SpriteMoveScript; import threeDimen.common.SpriteStat; public class LayaAir3D { private var box:MeshSprite3D; private var sphereBody:Object; private var world:Object; private var CANNON:Object; public function LayaAir3D() { //初始化引擎 Laya3D.init(0, 0, true); //适配模...

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

287. 3D场景-地形场景 [ 69%]

...laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; public class TerrainScene { public function TerrainScene() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(Scen...

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

288. LayaBox二次开发 如何用到 activity的上下文对象Context [ 69%]

...LayaBox怎么二次开发?请指导 如,android里写了一个Test类, public class Test { private Context context; public void init(final Context context) { this.context = context; } public void msg() { Log.d("layabox", "test"); Toast.makeText(context, "测试", Toast.LENGTH_SHORT).show(); } }...

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

289. laya.net.HttpRequest [ 69%]

... No Frames HttpRequestProperties | Methods | Events Packagelaya.netClasspublic class HttpRequestInheritanceHttpRequest EventDispatcher Object HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求以及普通的 GET 请求...

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

290. 性能统计面板介绍(ActionScript-2D进阶篇(AS3)-性能优化) [ 69%]

...: Demo.as编写代码如下: ```java package { import laya.utils.Stat; public class Demo { public function Demo() { //初始化舞台 Laya.init(1334,750); //调用性能统计面板方法,(0,0)为面板位置坐标 Stat.show(0,0); } } } ``` ### 2、FPS相关的介绍 ### 2.1 FPS概述 FPS是...

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