大约有 3 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0011 秒)
...ya.Stage; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_DrawPath { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; La...
来源: Laya_示例 发布时间: 20241119
... laya { import Loader = Laya.Loader; import Handler = Laya.Handler; export class Loader_MultipleType { private ROBOT_DATA_PATH: string = "../../res/skeleton/robot/robot.bin"; private ROBOT_TEXTURE_PATH: string = "../../res/skeleton/robot/texture.png"; constructor() { Laya.init(100, 100); var assets:...
来源: Laya_示例 发布时间: 20241119
...a.Sprite; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class PIXI_Example_21 { private colors:Array = ["#5D0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private colorCount:number = 0; private isDown:Boolean = false; private path:Array = []; private color:String = this.color...
来源: Laya_示例 发布时间: 20241119