大约有 2,916 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0084 秒)
Laya_社区(1723) Laya3.0_api(672) Laya2.0_文档(152) Laya2.0_api(128) laya_api(122) Laya3.0_文档(92) Laya2.0_示例(16) Laya_示例(11)
...内,可显示的最大行数(最多选项数) 滚动条类型 scrollType 下拉选项列表的滚动类型,只可以设置:无滚动、垂直方向滚动 滚动条皮肤 scrollBarSkin 下拉选项列表的滚动条图像资源,只可以设置垂直滚动条皮肤 默认选项索引 selec...
来源: Laya3.0_文档 发布时间: 20251010
...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
...在创建场景后预览报错: 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
...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
... --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
...)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
...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
...写位图字体加载和使用的代码。 完整代码如下所示: ```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
...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
...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