大约有 2,024 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1997) Laya2.0_文档(8) Laya3.0_文档(6) Laya3.0_api(5) laya_api(2) Laya2.0_示例(2) Laya_示例(2) Laya2.0_api(2)
...8] Using gulpfile D:\Users\Administrator\Personal\myLaya2.2\Client\.laya\compile.js [16:39:18] Starting 'tsc'... [16:39:18] Starting 'CopyNoneTSFile'... [16:39:18] Finished 'CopyNoneTSFile' after 169 ms error { Error: Command failed: D:\laya\2.2.0\resources\app\node_modules\.bin\tsc.cmd -b "D:\Users...
来源: Laya_社区 发布时间: 20190730
...inBaseUrl _url autoSize hitTestPrior mouseThrough name videoElement CAMERA MP4 OGG SUPPORT_MAYBY SUPPORT_NO SUPPORT_PROBABLY WEBM drawtocanvCtx Accessors active activeInHierarchy alpha blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidt...
来源: Laya3.0_api 发布时间: 20231102
...arameters url: string 播放源路径 extension: number 播放源类型(1: MP4, 2: OGG) Returns void Static create create(): HtmlVideo Defined in laya/device/media/HtmlVideo.ts:26 创建一个 HtmlVideo 实例 Returns HtmlVideo Static destroyUnusedResources destroyUnusedResources(): void Inherited f...
来源: Laya3.0_api 发布时间: 20231102
...ang.String cannot be cast to java.lang.Integer at org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_lookup_switchStmt(ABCGeneratingReducer.java:5737) at org.apache.flex.compiler.internal.as.codegen.ABCGeneratingReducer.reduce_switchStmt(ABCGeneratingReducer.java:...
来源: Laya_社区 发布时间: 20171009
...没法加入附件。我把全部源码贴出来吧 package { import laya.utils.Handler; import laya.display.Text; import laya.display.Animation; import laya.webgl.WebGL; import laya.media.Sound; import laya.webgl.shapes.Ellipse; import laya.displa...
来源: Laya_社区 发布时间: 20170921
...urces already exist,is repeated loading: https://piggy.q1.comres/sound/BGM.mp3 console.warn @ VM1768:1 Loader.cacheRes @ code.js:12995 SoundManager.playSound @ code.js:4963 SoundManager.playMusic @ code.js:4988 GameEx.onLoaded @ code.js:57359 GameEx.onLoaded2 @ code.js:57325 __proto.runWith @ code.j...
来源: Laya_社区 发布时间: 20180531
.../music/test/FY-0079.wav"); }); } } import { JsonTool } from "src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void; enum SoundType { BGM, Effect, Dialogue, } export...
来源: Laya_社区 发布时间: 20250930
...t lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel buffered compareMode cpuMemory currentSrc currentTime defaultTexture destroyed dimension duration ended error filterMode format frameRender gammaCorrection gammaSpace gpuMemory height id loop maxMipmapLevel mipmap mipmapCount muted obso...
来源: Laya3.0_api 发布时间: 20231115
...。这里用AS语言来创建项目。代码如下: ```java package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' ...
来源: Laya2.0_文档 发布时间: 20210715
...//plyr.io/,http://video-dev.github.io/hls.js/demo/,http://codepen.io/sampotts/pen/JKEMqB。 下面我们就以Plyr + hls.js来为例子,看看在LayaAir中我们应该怎么写。 在index.html文件中加入如下代码: <link rel="stylesheet" href="https://cdn.plyr.io/1.8.2/plyr.css"&gt...
来源: Laya3.0_文档 发布时间: 20251010