大约有 1,636 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0079 秒)
Laya_社区(1381) Laya3.0_api(68) Laya2.0_api(59) laya_api(55) Laya2.0_文档(54) Laya3.0_文档(17) Laya2.0_示例(1) Laya_示例(1)
... 比如我有这样一个基类 export default class UIBase extends Laya.View{} 然后在编译界面按F9 添加UIbase到 场景类型里面,这样在创建新的场景的时候就会有UIBase可以继承,但生成的LayaMaxUI.ts文件会报错,请问下我还需要做什么操作才能满足...
来源: Laya_社区 发布时间: 20181208
...ding)); } static aaa(): void { } private onLoaded(): void { var info = new view.GameInfo(); info.zOrder = 99;//置最顶,这句话不写图层看不见 // info.init(); Laya.stage.addChild(info); } private onLoading(): void { var bj = new BeiJing(); Laya.stage.addChild(bj); } } new GameMain(); 这...
来源: Laya_社区 发布时间: 20180507
...y generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; var REG: Function = Laya.ClassUtils.regClass; export module ui.test { export class TestSceneUI extends Laya.Scene { public scoreLbl:Laya.Labe...
来源: Laya_社区 发布时间: 20190402
...但是这个ui命名空间并不存在,如果我手动改成extends Laya.View(.ui文件里用的View标签),那么我如何让这个类去使用这个.ui文件呢?就像eui里指定skin一样。 2018-03-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20180323
...I DocumentationAll Packages | All Classes | Index | Frames No Frames ViewStackProperties | Methods | Events Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box Component Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的显...
来源: laya_api 发布时间: 20170929
...th only - Don't Clear 2. Background 3. Projection - perspective - Field of View - Orthographic - size 4. Clipping Planes - Near - Far 5. Viewport Rect - X - Y - W - H 6. Allow HDR - Light  1. Type - Directional - Spot - Range - Spot Angle - Point - Range 2...
来源: Laya2.0_文档 发布时间: 20200822
...一个游戏 代码重新 写的 LayaAirIDE1.4版本里用TS引擎库使用view嵌套发布html5报"Uncaught TypeError:Cannot set property 'y' of null"的解决方案 View嵌套Dialog组件 问题状态 最新活动: 2018-05-23 10:39 浏览: 979 关注: 2 人 星竹 • 2018-05-23 10:57 那怎么找...
来源: Laya_社区 发布时间: 20180522
...I DocumentationAll Packages | All Classes | Index | Frames No Frames ViewStackProperties | Methods | Events Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的...
来源: Laya2.0_api 发布时间: 20190513
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Viewport" Viewport Class Viewport Viewport 类用于创建视口。 Hierarchy Viewport Index Constructors constructor Properties height maxDepth minDepth width x y _tempViewport Methods cloneTo project set unprojectFromMat un...
来源: Laya3.0_api 发布时间: 20231115
...(dragCom,Laya.SpriteConst.TEXTURE,bounds.width, bounds.height, -bounds.x + view.x, -bounds.y + view.y); this._agent.graphics.drawTexture(this._agentTexture, (this._agent.width - bounds.width) * 0.5, (this._agent.height - bounds.height) * 0.5); } 附件 : --> 2021-09-11 添加评论 免费帖 -...
来源: Laya_社区 发布时间: 20210911