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

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

2671. laya.ui.VScrollBar [ 42%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class VScrollBarInheritanceVScrollBar ScrollBar UIComponent Sprite Node EventDispatcher Object 使用 VScrollBar (垂直 ScrollBar )控件,可以...

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

2672. 基础使用与构成 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...码如下: import { ItemBoxBase } from "./ItemBox.generated"; const { regClass, property } = Laya; @regClass() export class Script extends ItemBoxBase { constructor() { super(); } get dataSource(): any { return super.dataSource; } set dataSource(value: any) { super.dataSource = value; if (!value) ...

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

2673. Resources already exist,is repeated loading 加载特效报重复加载 [ 42%]

...ready exist,is repeated loading 加载特效报重复加载 export default class TransformDemo{     private scene:Laya.Scene3D;     private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0);     private rotate:Laya.Vector...

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

2674. socket无法连接服务器 [ 42%]

...码: let PORT: number = 8080;     let IP: string = "127.0.0.1"; export class NetSocket extends Laya.Socket{         private static _instance: NetSocket;         public static get instance(): NetSocket {             if (!NetSocket._instance) {                 NetSocket._inst...

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

2675. laya.ui.HScrollBar [ 42%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class HScrollBarInheritanceHScrollBar ScrollBar UIComponent Sprite Node EventDispatcher Object 使用 HScrollBar (水平 ScrollBar )控件,可以...

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

2676. list ,增加item ,我想在末尾增加,但是每次都给我翻倍的增加,如何解决 [ 42%]

...room_zhuozi.png"); bgSprite.pos(0, 0); this.addChild(bgSprite); } } } Laya.class(Item, "Item", Box); var list = new List(); list.itemRender = Item; list.x = 15; list.y = 60; list.height = 470; list.width = 542; list.spaceY = 20; list.vScrollBarSkin = ""; list.repeatX = 1; list.repeatY = 10; list.sel...

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

2677. 分享:List相关(Item增删功能) [ 42%]

...laya.ui.Clip; import laya.utils.Handler; import ui.test.ListPageUI; public class LayaUISample { private var listP:ListPageUI;//UI面板 private var arr:Array;//list数据数组 public function LayaUISample() { //初始化引擎 Laya.init(600, 800); Laya.stage.bgColor = "#ffcccc"; //加载界面需...

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

2678. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 42%]

...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.core.render.BaseRender))。 ​ 获取的材质分为两种类型: ​ 自身材质 **Material**,如果自身材质被修改了,只有自身模型显示进行变化; ​ 共享材质 **SharedMaterial** ...

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

2679. [临时解决]bug?加载sk问题 [ 42%]

...  this.preload(this.onPreloaded.bind(this));      }      Laya.class(Test01, 'view.Test01', _super);      var _proto = Test01.prototype;      _proto.preload = function (complete) {         console.log("preload..." + (++this.numPreloadCalls));          if (this.d...

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

2680. 分享:简单聊天室 [ 42%]

...events.Event; import laya.utils.Browser; import ui.test.HtmlPageUI; public class HtmlView1 extends HtmlPageUI { private var str:String; private var str2:String; private var isSend:Boolean=false; public function HtmlView1() { super(); // 文本样式一 str="<span color='blue' style=' font" + ":18...

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