大约有 435 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0075 秒)
Laya_社区(186) Laya3.0_api(80) Laya2.0_api(60) laya_api(52) Laya2.0_文档(30) Laya3.0_文档(25) Laya2.0_示例(1) Laya_示例(1)
... cuixueying 已解决,当destroy函数调用时会把子节点销毁,所以public function get numChildren(){} 被调用时child为空 所以报错,算是引擎的bug吧,将原函数改为public function get numChildren():int { trace(this); if (!this._childs...
来源: Laya_社区 发布时间: 20170829
...rt laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaSample { private var tMap:TiledMap; public function LayaSample() { //初始化引擎 Laya.init(1136, 640,WebGL); //创建TiledMap实例 tMap = new TiledMap(); //创建Rectangle实例,视口区域 var viewRe...
来源: Laya_社区 发布时间: 20180428
...Frames No Frames ImageProperties | Methods | Events Packagelaya.uiClasspublic class ImageInheritanceImage Component Sprite Node EventDispatcher Object Image 类是用于表示位图图像或绘制图形的显示对象。 Image和Clip组件是唯一支持异步加载的两个组件,比如img.ski...
来源: laya_api 发布时间: 20170929
...nBaseProperties | Methods | Events | Constants Packagelaya.displayClasspublic class AnimationBaseInheritanceAnimationBase Sprite Node EventDispatcher ObjectSubclasses Animation, FrameAnimation 动画基类,提供了基础的动画播放控制方法和帧标签事件相关功能。 可以继承...
来源: Laya2.0_api 发布时间: 20190513
...ya.resource.Context; import laya.utils.Browser; import laya.utils.HitArea; public class KouTu extends Sprite { private var box:Sprite; private var interactionArea:Sprite; private var maskArea:Sprite; private var guideContainer:Sprite; private var gameContainer:Sprite; public function KouTu() { super...
来源: Laya_社区 发布时间: 20170315
...mes No Frames ViewStackProperties | Methods | Events Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Publi...
来源: Laya2.0_api 发布时间: 20190513
...s No Frames ProgressBarProperties | Methods | Events Packagelaya.uiClasspublic class ProgressBarInheritanceProgressBar UIComponent Sprite Node EventDispatcher Object ProgressBar 组件显示内容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Propertie...
来源: Laya2.0_api 发布时间: 20190513
...: 2123 关注: 3 人 ageazrael • 2020-04-20 15:06 export class XClass { public get XValue(): number { return 100; } public set XValue(v: number) { console.log(v); } } var x = new XClass(); x["XValue"] = 100; 你运行一下看看呢、这能覆盖函数吗? ageazrael • 2019-08-05 15:...
来源: Laya_社区 发布时间: 20190803
...No Frames DialogManagerProperties | Methods | Events Packagelaya.uiClasspublic class DialogManagerInheritanceDialogManager Sprite Node EventDispatcher Object DialogManager 对话框管理容器,所有的对话框都在该容器内,并且受管理器管理。 任意对话框打开和关闭,...
来源: laya_api 发布时间: 20170929
...。 ShaderCompile3D /**是否开启调试模式。 */ public static var debugMode:Boolean = false; 设置为true, /** * 通过宏定义预编译shader。 * @param spriteIntToNameDic 精灵宏定义数组。 ...
来源: Laya_社区 发布时间: 20180620