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

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

121. 游戏加载进度失效 [ 76%]

...rogress*100)+"%"; } onLoaded() { this.cacheAnimation(); var waterBg = Laya.Sprite.fromImage("res/bg.png"); Laya.stage.addChild(waterBg); //创建背景 this.bg = []; this.bg[0] = new BackGround("res/bg1.png", 0.1); this.bg[0].pos(0, 0); Laya.stage.addChild(this.bg[0]); this.bg[1] = new BackGround("r...

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

122. 鼠标交互-双指旋转(多点触控) [ 76%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var sp; var preRadian = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clie...

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

123. laya.ui.ColorPicker [ 76%]

...ackagelaya.uiClasspublic class ColorPickerInheritanceColorPicker Component Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Property...

来源: laya_api 发布时间: 20170929

124. laya.ui.CheckBox [ 76%]

...ckagelaya.uiClasspublic class CheckBoxInheritanceCheckBox Button Component Sprite Node EventDispatcher Object CheckBox 组件显示一个小方框,该方框内可以有选中标记。 CheckBox 组件还可以显示可选的文本标签,默认该标签位于 CheckBox 右侧。 CheckBox 使用 dat...

来源: laya_api 发布时间: 20170929

125. laya.ui.Image [ 75%]

...| Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.skin = "abc/xxx.png",其他UI组件均不支...

来源: laya_api 发布时间: 20170929

126. 计时器-延迟执行 [ 75%]

...种开发语言、LayaAirIDE让项目开发更高效。(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var button1, button2; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWid...

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

127. laya.particle.Particle2D [ 75%]

...nts Packagelaya.particleClasspublic class Particle2DInheritanceParticle2D Sprite Node EventDispatcher Object Particle2D 类是2D粒子播放类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node...

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

128. laya.ui.Radio [ 75%]

...ts Packagelaya.uiClasspublic class RadioInheritanceRadio Button Component Sprite Node EventDispatcher Object Radio 控件使用户可在一组互相排斥的选择中做出一种选择。 用户一次只能选择 Radio 组中的一个成员。选择未选中的组成员将取消选择该组中当...

来源: laya_api 发布时间: 20170929

129. laya.utils.PerfHUD [ 75%]

...ds | Events Packagelaya.utilsClasspublic class PerfHUDInheritancePerfHUD Sprite Node EventDispatcher ObjectPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-on...

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

130. laya.display.AnimationPlayerBase [ 75%]

...displayClasspublic class AnimationPlayerBaseInheritanceAnimationPlayerBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画播放基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承此类,但不要直接实例化此类,因...

来源: laya_api 发布时间: 20170929