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

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

161. laya.ui.DialogManager [ 74%]

...nts Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,都会出发管理类的open和close事件 可以通...

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

162. laya.ui.HSlider [ 74%]

...ckagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 HSlider 控件采用水平方向。滑块轨道从左向右扩展,而标签位于轨道...

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

163. 分享一个自己做的游戏公告功能,跑马灯效果 [ 74%]

...port Image = Laya.Image import HTMLDivElement = Laya.HTMLDivElement import Sprite = Laya.Sprite import Box = Laya.Box /** 公告栏 */ export default class Notice extends View { /** 滚动区域 */ hornBox: Box /** html对象 */ html: HTMLDivElement /** 滚动框的宽度 */ defaultX = 1110 /** 动...

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

164. laya.ui.ViewStack [ 74%]

...kagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefi...

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

165. laya.display.EffectAnimation [ 74%]

...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...

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

166. 开放数据域组件 · LayaAir3.0文档 · LAYABOX [ 74%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.OpenDataContextView }) public opendata: Laya.OpenDataContextView; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行...

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

167. laya.ani.swf.MovieClip [ 74%]

...Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取...

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

168. 鼠标交互-双指缩放(多点触控) [ 74%]

...tat.show(); this.setup(); } setup() { const Event = Laya.Event; this.createSprite(); Laya.stage.on(Event.MOUSE_UP, this, this.onMouseUp); Laya.stage.on(Event.MOUSE_OUT, this, this.onMouseUp); } createSprite() { const Sprite = Laya.Sprite, Event = Laya.Event; let w = 300, h = 300; this.sp = new Sprit...

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

169. laya.ui.Component [ 74%]

...s | Events Packagelaya.uiClasspublic class ComponentInheritanceComponent Sprite Node EventDispatcher ObjectImplements IComponentSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager Component 是ui控件类的基类。 生命周期:preiniti...

来源: laya_api 发布时间: 20170929

170. laya.ui.Tab [ 73%]

...Packagelaya.uiClasspublic class TabInheritanceTab UIGroup Box UIComponent Sprite Node EventDispatcher Object Tab 组件用来定义选项卡按钮组。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活...

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