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

大约有 196 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)

71. LAYABOX读取贴图的时候 是否可以更改 列如 UNITY 里的 Filter Mode 采样模式 [ 66%]

...关的链接 提交 1 个回复 Laya_Aaron 赞同来自: class BaseTexture extends Bitmap { static WARPMODE_REPEAT: number = 0; static WARPMODE_CLAMP: number = 1;  /**寻址模式_重复。*/ static FILTERMODE_POINT: number = 0; /**寻址模式_不循环。*/ static FILTERMODE_BILINEAR: number = 1;...

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

72. socket.sent [ 66%]

...e.addChild(new Btn1 ());//加入舞台 } } new Game();       class Btn1 extends ui.v1UI{ public socket: Laya.Socket; public byte: Laya.Byte; constructor(){ super(); this.btn1.on(Laya.Event.CLICK,this,this.Btn1On); } Btn1On():void{ // socket.connect(“192.168.0.1.133”,8899); console.log("kjk"...

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

73. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 65%]

...脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();          //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain/Conventiona...

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

74. layaMaxUI.ts的自动生成代码bug [ 65%]

...on = Laya.ClassUtils.regClass; export module ui { export class MainSceneUI extends Laya.SceneBase { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("MainScene"); } } REG("ui.MainSceneUI",MainSceneUI); } 期待生成SceneBase, 结果仍然生成Laya.SceneBase  ...

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

75. Laya3.0 工程内的bundle.js文件存在某个类 导出微信工程后bundle.js又将该类裁剪了 [ 65%]

...况要怎么避免   @FGUIComponent("ui://login") export class TFrmLogin extends TGenFrmLogin {      onConstruct(): void {         super.onConstruct();     }  } 附件 : --> 2023-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...

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

76. 性能测试-卡通人物2 [ 65%]

... % 60 === 0) { this.text.text = Stat.FPS.toString(); } } } class Character extends Sprite { public static WIDTH: number = 110; public static HEIGHT: number = 110; private speed: number = 5; private bloodBar: Sprite; private animation: Animation; private nameLabel: Text; constructor(images: Array) { ...

来源: Laya_示例 发布时间: 20241001

77. laya.display.GraphicAnimation [ 65%]

...lare module laya.editorUI { /** * Graphics解析器 */ class GraphicParser extends laya.display.GraphicAnimation { protected _getTextureByUrl(url: string): string; static parseAnimationData(aniData: any): any; } } 2020-07-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

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

78. List组件拖动浏览时item会出现重叠的现象 [ 65%]

... laya.ui.Image; import Label = Laya.Label; export class ListDataSourceItem extends Box { public static WID: number = 200; public static HEI: number = 20; // private _img: Image = null; private _lb:Label = null; constructor() { super(); this._lb = new Label(); this._lb.size(ListDataSourceItem.WID, Li...

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

79. Image.loadImage 方法加载问题 [ 65%]

....dataSource; } module gamepublicspaceitem {  export class PublicSpaceItem extends Laya.Box  {   public static BTN_ENTRER_CLICK:string = "BtnEnterClick";   public _publicSpaceData:datasheet.PublicSpaceData;   private bg:Laya.Image;   private btnEnter:Laya.Button;   constructor()   {  ...

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

80. 嵌套类型的protobuf报错 [ 65%]

....__proto__.decode (gtea.js?tick=17185:1120)     at XMLHttpRequest.BaseUI.extend.getServerData.request.onreadystatechange (login.js:467)   2017-01-18 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 jiye 赞同来...

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