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

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

801. HttpRequest详解(TypeScript-LayaAir基础篇(TS)-数据与通信) [ 60%]

...发的功能。我们写个简单的例子来看下用法: ```typescript class LayaSample { constructor() { //初始化引擎 Laya.init(1136, 640); var xhr: Laya.HttpRequest = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Laya.Event.COMPLETE, this, this.complete...

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

802. laya.d3.resource.TextureCube [ 60%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextureCubeProperties | Methods | Constants Packagelaya.d3.resourceClasspublic class TextureCubeInheritanceTextureCube BaseTexture laya.resource.Bitmap TextureCube 用于生成立方体纹理。 Public Properties Hid...

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

803. laya.utils.Timer [ 59%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TimerProperties | Methods Packagelaya.utilsClasspublic class TimerInheritanceTimer Object Timer 是时钟管理。它是一个单例,不要手动实例化此,应该通过 Laya.timer 访问。 Public Properties...

来源: laya_api 发布时间: 20170929

804. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 59%]

....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.Tree)。 ### 1.1 Tree 组件主要由两个部分组成: - 项单元格(可以是 Box 、页面 View、自定义页面); - 纵向滚动条 VScrollBar; ### 1.2 Tree 组件的单元格通常由四部分...

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

805. [LayaAir3]脚本集怎么用? [ 59%]

... 在 Main.ts 的 onStart 方法中。动态加载脚本集: ``` const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {  async onStart() { console.log("Game start"); // 手动加载脚本集 const isSuccess = await Laya.loader.loadPackage("GScript"); // "GScript" ...

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

806. [LayaAir3]V3.2 | 调试结果不一致,导致无法判断结果? [ 59%]

...Air3]V3.2 | 调试结果不一致,导致无法判断结果? const { regClass, property } = Laya;  @regClass() export class Main extends Laya.Script {   testData = new Laya.Vector3(1, 1, 1);   @property(Laya.Camera)   camera: Laya.Camera;    onStart() {     //@ts-ignore     window.camer...

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

807. 预加载结束之后还是报lose skin [ 59%]

...aya.Texture){ console.log("加载结束"); } Log输出内容 Warning!,this class[MiniAdpter] already exist: Object {} 加载进度: 0.3 加载进度: 0.8999999999999999 加载进度: 1 加载结束 lose skin lose skin lose skin lose skin lose skin 2018-03-14 添加评论 免费帖 --> 分享 微博 ...

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

808. QQ玩一玩 API 中没有 BKLaya.tools.BinaryLoader 的定义 [ 59%]

...ya.bkadapter 有封装了 BKWebSocket,但是 /** *... *@author ww */ //class BKLaya.adptclass.BKWebSocket var BKWebSocket=(function(){ function BKWebSocket(url){ this._socket=null; this.onopen=null; this.onmessage=null; this.onclose=null; this.onerror=null; this._socket=new BK.WebSocket(url); va...

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

809. LayaNative 原生发布 APK Oppo R15 奔溃 其他正常 [ 59%]

...activity ComponentInfo{com.angelport.apptest/demo.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "demo.MainActivity" on path: DexPathList[[zip file "/data/app/com.angelport.apptest-Lo_yTvpJWT9iznFcVx-p0w==/base.apk"],nativeLibraryDirectories=[/data/app/com.angelport.apptest-Lo_yT...

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

810. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 59%]

...va package { import laya.events.Event; import laya.net.HttpRequest; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var xhr:HttpRequest = new HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler)...

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