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

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

681. laya.ui.UIComponent [ 40%]

...ex | Frames No Frames UIComponentProperties | Methods | Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Comp...

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

682. ProtocolBuffer通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 39%]

...import * as protobuf from "./libs/protobuf/protobuf"; const { regClass } = Laya; @regClass() export class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protobuf模块就可以直接在项目中使用了,这里我们写了一个简...

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

683. laya.ui.Component [ 39%]

...ndex | Frames No Frames ComponentProperties | Methods | Events Packagelaya.uiClasspublic class ComponentInheritanceComponent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Compo...

来源: laya_api 发布时间: 20170929

684. 3d资源释放的问题 [ 39%]

...这个特效用到了哪些资源,你只需要creat(.lh)就可以了,laya底层会根据lh里的结构去组织资源。创建完成后,我们就可以通过getRes(.lh)得到这个资源的原型对象,即一个Sprite3D对象,这个原型对象就是你这个特效的“根”,它如果...

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

685. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 37%]

...,以及自动化发布相关的一些东西 本文所有内容都针对 LayaAir IDE 2.8.0 Mac 版,若您使用的是其他版本的 IDE,本文所述内容可能不太适合您。   1、如何让 layabox ts 项目支持装饰器语法 由于目前 typescript 装饰器语法还处于实验阶...

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

686. Laya 2.2在iPhone 6S上出现严重的帧率暴跌问题 [ 37%]

Laya 2.2在iPhone 6S上出现严重的帧率暴跌问题 问题重现: LayaIDE 2.2.0 beta 4, iphone 6s手机,chrome浏览器 安卓手机没有问题   在场景里如果出现两组相同的模型,帧率会降到2-3 fps         如果是几组不同的模型, 帧率正常在60 fps...

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

687. 开放数据域组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 33%]

...定义组件脚本,脚本内容如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一...

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

688. laya.ui.Tree [ 31%]

...| Index | Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Pub...

来源: laya_api 发布时间: 20170929

689. LayaAir2.0(LayaBox)之小游戏开放域开发 [ 31%]

LayaAir2.0(LayaBox)之小游戏开放域开发 论坛传图 很麻烦  大家 可以直接 看我 博客   LayaAir2.0(LayaBox)之小游戏开放域开发  Laya2.0 开放域简介 自从2018年秋开始,layabox 公司发布了2.0 版本,在2.0 版本里面多了一个组件,就是WXOpenDa...

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

690. laya.ui.Tree [ 30%]

...| Index | Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box UIComponent Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited P...

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