大约有 92 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0025 秒)
..., 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.clientHeight, WebG...
来源: Laya2.0_示例 发布时间: 20241119
...tX = 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, Browser.clientHeight, WebG...
来源: Laya2.0_示例 发布时间: 20241119
...= ["goblin","goblingirl"], mCurrSkinIndex = 0; class Skeleton_ChangeSkin { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebG...
来源: Laya2.0_示例 发布时间: 20241119
..., 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.clientHeight, WebG...
来源: Laya2.0_示例 发布时间: 20241119
...StartX = 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); Laya.stage.alignV ...
来源: Laya2.0_示例 发布时间: 20241119
...onArray = [], mFactory, mActionIndex = 0; class PerformanceTest_Skeleton { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser....
来源: Laya2.0_示例 发布时间: 20241119
...PUT_WIDTH = 300, INPUT_HEIGHT = 50, Y_OFFSET = 50, skins; class UI_Input { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20241119
...开发语言、LayaAirIDE让项目开发更高效。class Tween_Letters { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.st...
来源: Laya2.0_示例 发布时间: 20241119
...ter3, character4], characters = [], text; class PerformanceTest_Cartoon2 { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Text = Laya.Text; // 不支持WebGL时自动切换至Canvas Laya.init(1280, 720, WebGL); Laya.sta...
来源: Laya2.0_示例 发布时间: 20241119
...ript、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。const WID = 373, HEI = 85; const Box = Laya.Box; class Item extends Box { constructor(){ super(); const Image = Laya.Image; this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); } setImg(src) { this.img.skin =...
来源: Laya2.0_示例 发布时间: 20241119