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

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

1. IDE-显示IDE创建的界面 [ 100%]

...ader; var Handler = Laya.Handler; var Event = Laya.Event; // 创建TestPageUI的子类 function TestUI() { TestUI.super(this); //btn是编辑器界面设定的,代码里面能直接使用,并且有代码提示 this.btn.on(Event.CLICK, this, onBtnClick); this.btn2.on(Event.CLICK, this, onBtn2Clic...

来源: Laya2.0_示例 发布时间: 20200319

2. 2D物理-仿生机器人 [ 89%]

...t { RigidBody } from "laya/physics/RigidBody"; import { Label } from "laya/ui/Label"; import { Stat } from "laya/utils/Stat"; import { WebGL } from "laya/webgl/WebGL"; import { Main } from "../Main"; /** * 仿生兽 */ export class Physics_Strandbeests { Main: typeof Main = null; private scale = 2.5...

来源: Laya2.0_示例 发布时间: 20260929

3. UI-RefreshList [ 52%]

...t; Point = Laya.Point; Tween = Laya.Tween; TextArea = Laya.TextArea; class UI_RefreshList { constructor() { this.baseBox = null; this.refreshLoading = null; this.loadingAni = null; this.loadingLabel = null; this.refreshList = null; /** 消息生成的当前最大id值 */ this.msgIdNow=1; /** 滚动...

来源: Laya2.0_示例 发布时间: 20260929