大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
...xternals Only exported Menu Globals "laya/spine/SpineTemplet" SpineTemplet Class SpineTemplet Spine动画模板基类 Hierarchy Resource SpineTemplet Index Constructors constructor Properties _id destroyedImmediately lock name skeletonData url uuid DEBUG RuntimeVersion Accessors basePath cpuMemory d...
来源: Laya3.0_api 发布时间: 20231115
...mouseover和 mouseout 因此可以扩展一下 第一步 修改此类: class HTMLHitRect { constructor() { this.rec = new Laya.Rectangle(); this.isMouseOver = false; this.reset(); } reset() { ...
来源: Laya_社区 发布时间: 20200724
....utils.Handler; import laya.webgl.WebGL; import ui.ComponentDemoUI; public class ComponentDemo { //资源路径 private var skin1:String="res/component/check.png"; private var skin2:String ="res/component/check_2.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开启WebGL...
来源: Laya2.0_文档 发布时间: 20210714
...材质属性拷贝的时候会出现不正确的结果 export default class LayaBlinnPhongExt extends Laya.BlinnPhongMaterial { public CopyAttribute_ASKLaya(baseMat: Laya.BlinnPhongMaterial) { var layaBlinnPhongExt:LayaBlinnPhongExt=this; var laya...
来源: Laya_社区 发布时间: 20191121
...有通过一个类的名字(字符串)来获取该类的方法?类似get class by name IDE中选中字符串大小写转换快捷键 发布后的js能不能全部变成.min.js(就像egretwing发版后),这样一定程度上能保护源码 HttpRequest无法发送除字符串以外的数据 ...
来源: Laya_社区 发布时间: 20180124
...添加如下的示例代码,实现脚本控制HScrollBar: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.HScrollBar }) public hscroll: Laya.HScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕...
来源: Laya3.0_文档 发布时间: 20240910
... uiview { import Event = Laya.Event; import Browser = Laya.Browser; export class ViewLogin extends ui.loginViewUI { constructor() { super(); this.smo this.visible = false; 我的问题是UI界面如何对齐,不是舞台。。 2018-02-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回...
来源: Laya_社区 发布时间: 20180206
...添加如下的示例代码,实现脚本控制VScrollBar: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.VScrollBar }) public vscroll: Laya.VScrollBar; //组件被激活后执行,此时所有节点和组件均已创建完毕...
来源: Laya3.0_文档 发布时间: 20240910
... (function (_super) { function CommonDlg() { CommonDlg.super(this); } Laya.class(CommonDlg, "CommonDlg", _super); var _proto_ = CommonDlg.prototype; _proto_.closeEffect = Laya.Handler.create(null, this.onCloseEffect, null, true); _proto_.onCloseEffect = function () { console.log("in on close effect"...
来源: Laya_社区 发布时间: 20171107
...n的API介绍请参考 [https://layaair.ldc.layabox.com/api/?category=Core&class=laya.display.Animation](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=Core&category=display&class=laya.display.Animation) ## 2、通过LayaAirIDE创建Animation 组件 ### 2.1 创建An...
来源: Laya2.0_文档 发布时间: 20210714