• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 54 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0040 秒)

51. [LayaAirIDE3]xcode切入切出声音不播放 [ 23%]

..."src/tools/JsonTool"; import { ResourceManager } from "./ResourceManager"; declare function testmusic_cn_ios(accountId: string): void; enum SoundType {     BGM,     Effect,     Dialogue, } export class SoundManager {     private static instance: SoundManager;     private curBGMUrl: string;...

来源: Laya_社区 发布时间: 20250930

52. 时间轴动画 · LayaAir3.4 · 引擎文档 · LAYABOX [ 19%]

...property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } event1(p1:any, p2:any): void { console.log("event1",p1,p2); } } 在脚本中创建event1的方法和接收两个参数,最后我们来运行动画,看看运行结...

来源: Laya3.0_文档 发布时间: 20260128

53. laya.display.Text_API3.0 [ 11%]

...yout _onPostLayout: () => void Defined in laya/display/Text.ts:203 Type declaration (): void Returns void _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Defined in laya/display/Text.ts:...

来源: Laya3.0_api 发布时间: 20231115

54. laya.display.Input_API3.0 [ 8%]

...Inherited from Text._onPostLayout Defined in laya/display/Text.ts:203 Type declaration (): void Returns void _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _parseEscapeChars _parseEscapeChars: boolean Inherited from Text._parseEscape...

来源: Laya3.0_api 发布时间: 20231115