大约有 2,054 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0059 秒)
...Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sound_SimpleDemo { //声明一个信息文本 private txtInfo: Text; constructor() { // 不支持WebGL时自动切换至Canvas ...
来源: Laya_社区 发布时间: 20201203
... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_MagnifyingGlass { private maskSp:Sprite; private bg2:Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1136, 640, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH...
来源: Laya_示例 发布时间: 20240929
...ER();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_NOBORDER { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOBORDER; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantra...
来源: Laya2.0_示例 发布时间: 20240929
...LE();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_NOSCALE { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_NOSCALE; Laya.stage.bgColor = "#232628"; this.createCantralRect(); } private createCantralR...
来源: Laya2.0_示例 发布时间: 20240929
...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Restrict { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 300, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.S...
来源: Laya2.0_示例 发布时间: 20240929
...aya.ProgressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CEN...
来源: Laya_示例 发布时间: 20240929
... Laya.Rectangle; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class TiledMap_IsometricWorld { private tiledMap: TiledMap; private layer: MapLayer; private sprite: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1600, 800, WebGL); Laya.stage.alignV = St...
来源: Laya_示例 发布时间: 20240929
...ext = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_ComplexStyle { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_C...
来源: Laya2.0_示例 发布时间: 20240929
...= Laya.ComboBox; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ComboBox { private skin: string = "res/ui/combobox.png"; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage....
来源: Laya2.0_示例 发布时间: 20240929
Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export You should check the texture file format unity版本:2018.4.7f1 插件当日Laya2.4版本插件 步骤,导入插件-->将prefab拖入场景-->手动修改shader为BlinnPhong此时LayaBlinnPhongGUI.cs会报空引用...
来源: Laya_社区 发布时间: 20200619