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

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

171. scaleMode 用法 [ 70%]

...幕长宽比,自动选择使用SCALE_FIXED_WIDTH或SCALE_FIXED_HEIGHT*/ public static const SCALE_FIXED_AUTO:String = "fixedauto";

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

172. laya.ui.MoreGame [ 70%]

...ames No Frames MoreGameProperties | Methods | Events Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boole...

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

173. laya.ui.TipManager [ 70%]

...es No Frames TipManagerProperties | Methods | Events Packagelaya.uiClasspublic class TipManagerInheritanceTipManager Component Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Nu...

来源: laya_api 发布时间: 20170929

174. 问一下tween的一些参数怎么设置 [ 70%]

...mport laya.utils.Ease; import laya.utils.Handler; import laya.utils.Tween; public class LayaAirDemo { private var sp:Sprite; private var num:int; public function LayaAirDemo() { Laya.init(550,400); sp=new Sprite(); sp.graphics.drawCircle(0,0,50,"#00FFFF"); Laya.stage.addChild(sp); sp.pos(100,100); T...

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

175. laya.ui.TipManager [ 70%]

...es No Frames TipManagerProperties | Methods | Events Packagelaya.uiClasspublic class TipManagerInheritanceTipManager UIComponent Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active :...

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

176. 如何用代码控制panel的vscroll滚动幅度 [ 70%]

...; import laya.net.Loader; import laya.ui.Panel; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(600,600); Laya.stage.bgColor='#EEFFCC'; Laya.loader.load("res/atlas/comp.json",Handler.create(this,onLoaded),null,Loader.ATLAS); } private function onLoaded...

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

177. 最新版本 1.7.5 beta fontClip [ 70%]

...享 微博 QZONE 微信 a13121527420 - 哇啦哇啦哇啦! 赞同来自: public function set index(value:int):void {             _index = value;             if (_bitmap && _sources) {                 this.graphics.clear();                 var split...

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

178. Laya中的宏编译要怎么用啊 [ 69%]

...tageAlign; import flash.display.StageScaleMode; import flash.events.Event; public class Main extends Sprite { public function Main():void { if (stage) init(); else addEventListener(Event.ADDED_TO_STAGE, init); } private function init(e:Event = null):void { removeEventListener(Event.ADDED_TO_STAGE, i...

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

179. laya.ui.LayoutBox [ 69%]

...mes No Frames LayoutBoxProperties | Methods | Events Packagelaya.uiClasspublic class LayoutBoxInheritanceLayoutBox Box Component Sprite Node EventDispatcher ObjectSubclasses HBox, VBox LayoutBox 是一个布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public P...

来源: laya_api 发布时间: 20170929

180. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 69%]

... import laya.utils.Tween; import laya.utils.Ease; import laya.webgl.WebGL; public class TweenDemo { public function TweenDemo() { // 初始化舞台 Laya.init(1334,750, WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); } //创建缓动文本 private function ...

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