大约有 708 项符合查询结果, 库内数据总量为 30,779 项。 (搜索耗时: 0.0053 秒)
Laya_社区(412) Laya_示例(95) Laya2.0_示例(94) Laya2.0_文档(31) laya_api(24) Laya3.0_api(23) Laya2.0_api(23) Laya3.0_文档(6)
....graphics.drawTexture(monkey2, 100, 0); })); } } new Sprite_DisplayImage();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_DisplayImage { ...
来源: Laya2.0_示例 发布时间: 20241119
...可以做到鼠标移入按钮后播放一个音效,求解决方案。 module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = Laya.SoundManager; ...
来源: Laya_社区 发布时间: 20201203
...ding(env: Windows,mg,1.05.2204264; lib: 2.17.0) VM84 WAGame.js:2 Error: module "libs/spine-core-3.8.js" is not defined at require (VM97 WAGameSubContext.js:2) at a (VM97 WAGameSubContext.js:2) at index.js? [sm]:28 at require (VM97 WAGameSubContext.js:2) at a (VM...
来源: Laya_社区 发布时间: 20220531
...(value) { console.log("进度:" + Math.floor(value * 100) + "%"); } })();module laya { import Stage = Laya.Stage; import ProgressBar = Laya.ProgressBar; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ProgressBar { private progressBar: ProgressBar; constructor() { // 不...
来源: Laya_示例 发布时间: 20241119
....y = (Laya.stage.height - txt.textHeight) / 2; } } new Text_ComplexStyle();module laya { import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_ComplexStyle { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(...
来源: Laya2.0_示例 发布时间: 20241119
...) { console.log("选中了: " + cb.selectedLabel); } } new UI_ComboBox();module laya { import Stage = Laya.Stage; import ComboBox = Laya.ComboBox; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ComboBox { private skin: string = "res/ui/combobox.png"; constructor() { // ...
来源: Laya2.0_示例 发布时间: 20241119
...设置ComboBox,创建出符合自己需要的下拉框。 ```javascript module laya { import Stage = Laya.Stage; import ComboBox = Laya.ComboBox; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ComboBox { private skin: string = "res/ui/combobox.png"; constructor() { // ...
来源: Laya2.0_文档 发布时间: 20210715
...ate); } animate() { this.apesCon.rotation += 1; } } new Sprite_Container();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图...
来源: Laya2.0_示例 发布时间: 20241119
...View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; export module ui { export class BGPageUI extends View { constructor(){ super()} createChildren():void { super.createChildren(); this.loadScene("BGPage"); } } export class MonkeyPageUI extends View { constructor(){ super()} createChi...
来源: Laya_社区 发布时间: 20181014
...p(1, this, animate); } function animate(e) { apesCtn.rotation += 1; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_Container { // 该容器用于装载4张猩猩图...
来源: Laya_示例 发布时间: 20241119