大约有 1,232 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0056 秒)
...ge = Laya.Image; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_Clip { private buttonSkin: string = "res/ui/button-7.png"; private clipSkin: string = "res/ui/num0-9.png"; private bgSkin: string = "res/ui/coutDown.png"; private counter: Clip; private currFrame: number; priv...
来源: Laya2.0_文档 发布时间: 20210714
...age"; // import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 privat...
来源: Laya_社区 发布时间: 20200203
...该对象池对应的编号对应好,否则使用时会出问题 */ export default class PoolManager { static _instance:any; public m_ObjectPoolDic:{[key:number]:QueueT<Laya.MeshSprite3D>}={} constructor() { } static getInstance() { return this._instance || (this._instance = new PoolManag...
来源: Laya_社区 发布时间: 20191206
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientSize" GradientSize Class GradientSize GradientSize 类用于创建渐变尺寸。 Hierarchy GradientSize Implements IClone Index Constructors constructor Acc...
来源: Laya3.0_api 发布时间: 20231115
...Laya.VScrollBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ScrollBar { /***水平滚动条资源**/ private skins:Array=["res/ui/hscroll.png", "res/ui/hscroll$bar.png", "res/ui/hscroll$down.png", "res/ui/hscroll$up.png"]; /***提示信息文本框**/ private promptTex...
来源: Laya2.0_文档 发布时间: 20210715
...Laya.VScrollBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ScrollBar { /***垂直滚动条资源**/ private skins:Array=["res/ui/vscroll.png", "res/ui/vscroll$bar.png", "res/ui/vscroll$down.png", "res/ui/vscroll$up.png"]; /***提示信息文本框**/ private promptTex...
来源: Laya2.0_文档 发布时间: 20210715
...e = Laya.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 = thi...
来源: Laya_示例 发布时间: 20241119
...题,就是ios有问题。代码如下:附件是两个音频文件 export default class GameMain extends Laya.Scene { constructor() { super(); //设置单例的引用方式,方便其他类引用 GameMain.instance = this; ...
来源: Laya_社区 发布时间: 20200925
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/PostEffect/BloomEffect" BloomEffect Class BloomEffect BloomEffect 类用于创建泛光效果。 Hierarchy PostProcessEffect BloomEffect Index Constructors constructor Accessors acti...
来源: Laya3.0_api 发布时间: 20231115
...dler = Laya.Handler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Tween_EaseFunctionsDemo { private character: Sprite; private duration: number = 2000; private tween: Tween; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV ...
来源: Laya_示例 发布时间: 20241119