大约有 48 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0023 秒)
...发语言、LayaAirIDE让项目开发更高效。let txt; class Interaction_Mouse { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientH...
来源: Laya2.0_示例 发布时间: 20241118
...full", "fixedwidth", "fixedheight"], index = 0, txt; class SmartScale_T { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Image = Laya.Image, Text = Laya.Text; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400...
来源: Laya2.0_示例 发布时间: 20241118
...let mLastMouseX = 0, mLastMouseY = 0, mX, mY; class TiledMap_ScrollMap { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Event = Laya.Event, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.a...
来源: Laya2.0_示例 发布时间: 20241118
...、LayaAirIDE让项目开发更高效。let preRadian = 0; class Interaction_Rotate { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clien...
来源: Laya2.0_示例 发布时间: 20241118
...e, mStartX = 400, mStartY = 500, mCurrIndex = 0, mLabelSprite; class Skeleton_SpineEvent { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cl...
来源: Laya2.0_示例 发布时间: 20241118
...开发语言、LayaAirIDE让项目开发更高效。class Text_AutoSize { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.a...
来源: Laya2.0_示例 发布时间: 20241118
...at = Laya.Stat; var SpineTemplet = Laya.SpineTemplet; class SpineBinary { constructor() { this.aniPath = "res/bone/spineboy-pma.skel"; this.index = -1; Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; Stat.show(); this.start...
来源: Laya2.0_示例 发布时间: 20241118
...tory, mArmature, mStartX = 400, mStartY = 500, mCurrIndex = 0; class Skeleton_MultiTexture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); ...
来源: Laya2.0_示例 发布时间: 20241118
...tory, mArmature, mStartX = 200, mStartY = 500, mCurrIndex = 0; class Skeleton_SpineVine { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.cli...
来源: Laya2.0_示例 发布时间: 20241118
...tory, mArmature, mStartX = 200, mStartY = 500, mCurrIndex = 0; class Skeleton_SpineStretchyman { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Brow...
来源: Laya2.0_示例 发布时间: 20241118