大约有 1,253 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0050 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/bone/canvasmesh/SkinMeshForGraphic" SkinMeshForGraphic Class SkinMeshForGraphic Laya Hierarchy MeshData SkinMeshForGraphic Index Constructors constructor Properties canvasPadding indexes textur...
来源: Laya3.0_api 发布时间: 20231115
...xt) return window.wx.offHide(callback) } } const wxHelper = new WXHELPER() export default wxHelper gameController.js import wxHelper from 'wxhelper' export default class welcome extends Laya.Script { constructor() { super() } onEnable() { wxHelper.onShow(this.resumeGame) wxHelper.onHide(this...
来源: Laya_社区 发布时间: 20181101
...分; 打开界底层是addChild打开的; 新建一个UIManagerexport class UIManager { private mainContent: Laya.Sprite; private scene: GameScence; private uiList:any; constructor() { this.mainContent = new Laya.Sprite(); this.uiList = ; } }mainContent 为默认添加到的层级, GameS...
来源: Laya_社区 发布时间: 20190222
... 1.3 脚本控制TextArea const { regClass, property } = Laya; @regClass() export class TextAreaControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextArea } ) public txtarea: Laya.TextArea; constructor() { super(); } /** * 组件被激活后执行,此时所有...
来源: Laya3.0_文档 发布时间: 20240910
...ge = Laya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_InputMultiline { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN...
来源: Laya2.0_示例 发布时间: 20250220
...Laya.Loader; import Texture = Laya.Texture; import Handler = Laya.Handler; export class Loader_ProgressAndErrorHandle { constructor() { Laya.init(550, 400); // 无加载失败重试 Laya.loader.retryNum = 0; var urls: Array = ["do not exist", "res/fighter/fighter.png", "res/legend/map.jpg"]; Laya.lo...
来源: Laya2.0_示例 发布时间: 20250220
...现脚本控制Panel: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Panel }) public panel: Laya.Panel; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { this...
来源: Laya3.0_文档 发布时间: 20240910
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/RenderContext3D" RenderContext3D Class RenderContext3D RenderContext3D 类用于实现渲染状态。 Hierarchy RenderContext3D Index Constructors constructor Properties configPipeLi...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/XMLIterator" XMLIterator Class XMLIterator Hierarchy XMLIterator Index Properties attrParsed lastTagEnd lastTagName lowerCaseName parsePos source sourceLen tagLength tagName tagPos tagType Acc...
来源: Laya3.0_api 发布时间: 20231115
... Stage = Laya.Stage; import Image = Laya.Image; import WebGL = Laya.WebGL; export class UI_Image { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_...
来源: Laya_示例 发布时间: 20250220