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

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

731. List数据源的格式问题导致无法响应List的SelectHandler [ 76%]

...public class SkillInfoVO extends Data { public var Lv:int; public var Name:String; public var Color:int; }3、Data的相关代码public class Data extends EventDispatcher { public function Data() { } protected function dataSourceChange(eventType:String, property:String, value:Object):void { var data...

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

732. FBX导出Index was outside the bounds of the array [ 76%]

...dex was outside the bounds of the array. p.a (UnityEngine.Mesh A_0, System.String A_1, System.Boolean A_2) (at <fb4f7e057e8e4883a548262c8679c156>:0) p.c () (at <fb4f7e057e8e4883a548262c8679c156>:0) p.b (System.String A_0) (at <fb4f7e057e8e4883a548262c8679c156>:0) LayaAir3D.exportRe...

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

733. 启动页设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

...ue 是否开启启动页功能。true: 开启false: 关闭 BackgroundColor String '#000000' 背景颜色,支持十六进制颜色字符串。 Image String image/splash.png 图片文件的路径(相对于资源根目录)。 FitMode String Center 图片适配模式,对应 IDE 中的选项:- ...

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

734. laya.d3.core.material.BaseMaterial_API3.0 [ 75%]

...Material类 use Material.ALPHATESTVALUE instead Static MATERIAL MATERIAL: string = "MATERIAL" Defined in laya/d3/core/material/BaseMaterial.ts:14 deprecated 废弃请使用Material类 use Material.MATERIAL instead Static RENDERQUEUE_ALPHATEST RENDERQUEUE_ALPHATEST: number = 2450 Defined in laya/d3/c...

来源: Laya3.0_api 发布时间: 20231102

735. 骨骼挂点图片不展示的问题 [ 75%]

...b/System.Reflection/MethodBase.cs:115) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:285) UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:278) UnityEditor.Ho...

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

736. laya.d3.utils.Utils3D_API3.0 [ 75%]

...阵数组的偏移。 Returns void Static getURLVerion getURLVerion(url: string): string Defined in laya/d3/utils/Utils3D.ts:482 获取URL版本字符。 Parameters url: string Returns string Static mulMatrixByArray mulMatrixByArray(leftArray: Float32Array, leftOffset: number, rightArray: Float32Arr...

来源: Laya3.0_api 发布时间: 20231115

737. 新人求教!!! [ 75%]

...序入口 class Main{ //需要切换的图片资源路径 private monkey1:string = "res/img/monkey1.png"; private monkey2:string = "res/img/monkey2.png"; //切换状态 private flag:boolean = false; private img:Laya.Sprite; constructor() {       //初始化引擎       Laya.init(1334,750);   ...

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

738. 有时候加载一大堆资源的时候某个个别图片资源加载失败如何处理 [ 75%]

...   加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加载成功,则回调参数值为加载完成的资源,否则为null;2. url为数组类型,指定了一组要加载的资源,如果全部加载成功,则回调...

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

739. 问一下这个问题要怎么改啊? [ 75%]

...Image; import laya.utils.Handler; public class addPic { private var picUrl:String; private var pic:Sprite; private var picX:int; private var picY:int; public function addPic(str:String, x:int, y:int) { picUrl = str; picX = x; picY = y; Laya.loader.load(picUrl, Handler.create(this, showBgImg)); } pri...

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

740. AS3与JS混合编码(ActionScript-2D进阶篇(AS3)-扩展模块) [ 75%]

...lic function JSDemo() { //初始化引擎 Laya.init(0, 0); var BrowserInfo:String = __JS__('"Console Log:浏览器高:" + window.innerHeight + " 浏览器宽:"+ window.innerWidth'); trace(BrowserInfo); } } } ```   以上两种方式从运行的结果上看,是完全一致的,如图2所...

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