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

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

91. 如何根据一个类的对象获取类名 [ 80%]

... QZONE 微信 Monica - 知识达人 赞同来自: 根据Class获取类名(String)的  var arr:Array = class.prototype.__className.split("."); arr[arr.length-1]就是String类型的类名 2017-08-15 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 ...

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

92. laya.resource.RenderTexture2D_API3.0 [ 80%]

...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited...

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

93. unity 导出问题 animator出错 [ 80%]

... present in the dictionary. System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[System.String]].get_Item (System.String key) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:150) LayaExport.DataManager.saveLaniDa...

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

94. Byte二进制读写(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 80%]

...数 byte1.writeInt16(16);//写入一个两个字节的整数 byte1.writeUTFString("hell world");//写入一个字符串; byte.writeArrayBuffer(byte1.buffer,6);//把byte1的数据从第六个字节开始读入byte中。省略其中的浮点数20.0和整数16 byte.pos = 0;// console.log(byte.readUTF...

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

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

....text.BitmapFontUI { //给自己注册的字体起个名 private fontName: string = "diyFont"; constructor() {super();} onAwake(): void { //加载位位图字体 this.loadBitmapFont(); } /** * 实例化位图字体类,并加载位图字体 */ loadBitmapFont(): void { let bitmapFont: Laya.BitmapFon...

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

96. laya.d3.resource.RenderTextureCube_API3.0 [ 80%]

...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:99 获取资源的URL地址。 uuid uuid: string Inherited f...

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

97. laya.resource.NativeRenderTexture2D_API3.0 [ 80%]

...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited...

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

98. laya.ani.swf.MovieClip [ 80%]

...获取。设置为true,对性能有一定影响。 Sprite  basePath : String资源根目录。MovieClip blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会...

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

99. UTF8格式通信的问题 [ 80%]

UTF8格式通信的问题 1. message 是string类型,为了保证中文不乱码,就需要转utf var testbyte:Byte = new Byte(); testbyte.writeUTFBytes(message); 如何用socket发送Byte类型 官网demo里是对于string类型发送是如下处理: for (var i = 0; i < message.length; ++i...

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

100. laya.ui.Dialog [ 80%]

...获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 View cacheAs : String 指定显示对象是否...

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