大约有 773 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)
Laya_社区(382) Laya2.0_文档(85) Laya3.0_api(74) Laya2.0_api(66) laya_api(63) Laya3.0_文档(44) Laya_示例(32) Laya2.0_示例(27)
...laya.display.Stage; import laya.display.Text; import laya.ui.Image; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); Laya.stage.bgColor = "#235615"; //设置适配模式 Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...
来源: Laya_社区 发布时间: 20170228
... biu = 'biu',//被扔 dizziness = 'dizziness',//眩晕 } export default class RoleBase extends Laya.Script3D{ public nGrade:number = 0; public nSpeed:number = 5; public sprite:Laya.Sprite3D = null; public animator:Laya.Animator = null; public Init(){ this.sprite = this.owner as Laya.Sprite3D...
来源: Laya_社区 发布时间: 20191026
...t","runtime":"laya.particle.Particle2D"}运行报错 Uncaught Can not find class laya.particle.Particle2D 我将laya.particle.Particle2D 改成 Particle2D就运行正常,但是ui编辑页面无法正常打开了。 简单说就是particle2D编辑好不能直接拖到别的场景使用 附件 ...
来源: Laya_社区 发布时间: 20191127
API DocumentationAll Packages | All Classes | Index | Frames No Frames HSliderProperties | Methods | Events Packagelaya.uiClasspublic class HSliderInheritanceHSlider Slider UIComponent Sprite Node EventDispatcher Object 使用 HSlider 控件,用户可以通过在滑块轨道的终点之...
来源: Laya2.0_api 发布时间: 20190513
...display.Sprite; import laya.ui.Panel; import laya.utils.Handler; public class LayaSample { private var rule_ct; public function LayaSample() { Laya.init(640, 1136, WebGL); Laya.stage.bgColor = "#CCBBAA"; var panel = new Panel(); Laya.stage.addChild(panel); panel.size(460, 704); ru...
来源: Laya_社区 发布时间: 20170215
...All Inherited Externals Only exported Menu Globals "laya/ui/Dialog" Dialog Class Dialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性...
来源: Laya3.0_api 发布时间: 20231115
...ol = function () { EF_DataProtocol.prototype.init = function (){ }; } Laya.class(EF_DataProtocol, "EF_DataProtocol", null); 按F5, 运行后提示找不到 Laya类, 这是什么问题? 求指导. 附件 : --> 2020-10-01 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果...
来源: Laya_社区 发布时间: 20201001
API DocumentationAll Packages | All Classes | Index | Frames No Frames VBoxProperties | Methods | Events | Constants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hi...
来源: Laya2.0_api 发布时间: 20190513
API DocumentationAll Packages | All Classes | Index | Frames No Frames TipManagerProperties | Methods | Events Packagelaya.uiClasspublic class TipManagerInheritanceTipManager UIComponent Sprite Node EventDispatcher Object鼠标提示管理类Public Properties Hide Inherited Public Properti...
来源: Laya2.0_api 发布时间: 20190513
...理引擎文档都是IDE篇的。 我试着用代码实现物理效果class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_clos...
来源: Laya_社区 发布时间: 20190428