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

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

2801. 下拉选项框组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

...内,可显示的最大行数(最多选项数) 滚动条类型 scrollType 下拉选项列表的滚动类型,只可以设置:无滚动、垂直方向滚动 滚动条皮肤 scrollBarSkin 下拉选项列表的滚动条图像资源,只可以设置垂直滚动条皮肤 默认选项索引 selec...

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

2802. laya.d3.math.Vector3_API3.0 [ 39%]

...nate transformQuat transformV3ToV3 transformV3ToV4 Legend Class Class with type parameter Constructor Property Method Object literal Variable Function Type alias Static property Static method Enumeration Interface

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

2803. unity 新建场景,预览报错。 [ 39%]

...在创建场景后预览报错: MissingReferenceException: The object of type 'SkinnedMeshRenderer' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. n.a (UnityEngine.SkinnedMeshRenderer A_0, System.String ...

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

2804. 复选框组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

...Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.CheckBox }) public checkbox: Laya.CheckBox; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this.checkbox.pos(300, 300); // this.checkbox.sele...

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

2805. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 39%]

... --mode module -p module=entry@default -p product=default -p requiredDeviceType=default assembleHap --analyze=normal --parallel --incremental --daemon > hvigor UP-TO-DATE :entry:default@PreBuild... > hvigor UP-TO-DATE :libSysCapabilities:default@PreBuild... > hvigor Finished :entry:default@...

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

2806. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 39%]

...)byteOffset: (...)length: (...)Symbol(Symbol.toStringTag): (...)__proto__: TypedArray__proto__: Object bom.transform.localRotation=new Laya.Quaternion(0, 0,0,0);           //设置了localRotation Quaternion {elements: Float32Array[4]} bom.transform.worldMatrix                       ...

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

2807. Laya.MiniAdpter.downLoadFile缓存的文件无法读取的问题 [ 39%]

...any):void { console.log("OnDownloadCb"); if (result != null) { console.log(typeof(result)); // console.log(result); } else { console.log("result is none"); } } 然后在调试中发现了两个问题: 1、在MiniFileMgr.readFile函数中: MiniFileMgr.readFile=function(filePath,encoding,callBack,...

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

2808. 位图字体的制作与使用(TypeScript-LayaAir基础篇(TS)-文本) [ 39%]

...写位图字体加载和使用的代码。 完整代码如下所示: ```typescript import { ui } from "./ui/layaMaxUI"; //继承BitmapFont的ui场景类 export default class AllText extends ui.examples.text.BitmapFontUI { //给自己注册的字体起个名 private fontName: string = "diyFont"; co...

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

2809. 内存优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 39%]

...ttps://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=Utils&class=laya.utils.Pool),用于对象的存贮、重复使用。比较常用的是`对象池创建`方法`getItemByClass()`与`回收到对象池`方法`recover()`。 如图1-1、图1-2所示。 ![图...

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

2810. 写了个边缘光的自定义shader,有很多问题,帮忙看一下 [ 39%]

...Laya.BaseMaterial); CustomMaterial.DIFFUSETEXTURE = 1; CustomMaterial.prototype.getDiffuseTexture = function () { return this._getTexture(CustomMaterial.DIFFUSETEXTURE); } CustomMaterial.prototype.setDiffuseTexture = function (value) { this._setTexture(CustomMaterial.DIFFUSETEXTURE,value); }     ...

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