大约有 490 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0052 秒)
Laya2.0_api(166) laya_api(138) Laya_示例(60) Laya_社区(55) Laya2.0_示例(50) Laya2.0_文档(10) Laya3.0_api(9) Laya3.0_文档(2)
...////////////////////////////////java////////////////////////////////////// public static void showError(){ Log.e("showerror","show"); new AlertDialog.Builder(MainActivity.my_activity).setTitle("error" ).setMessage("加载游戏失败,可能由于您的网络不...
来源: Laya_社区 发布时间: 20180116
...| 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
... 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
... No Frames HttpRequestProperties | Methods | Events Packagelaya.netClasspublic class HttpRequestInheritanceHttpRequest EventDispatcher Object HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求以及普通的 GET 请求...
来源: laya_api 发布时间: 20170929
...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
...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
...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
...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
... No Frames HttpRequestProperties | Methods | Events Packagelaya.netClasspublic class HttpRequestInheritanceHttpRequest EventDispatcher Object HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,包括做出 POST 和 HEAD 请求以及普通的 GET 请求...
来源: Laya2.0_api 发布时间: 20190513
...: 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