变量 PlayerConfig常量

PlayerConfig: {
    light2D?: any;
    physics2D?: any;
    physics3D?: any;
    spineVersion?: string;
    UI?: any;
    workerLoaderLib?: string;
    [key: string]: any;
} = {}

类型声明

  • [key: string]: any
  • 可选light2D?: any
  • 可选physics2D?: any
  • 可选physics3D?: any
  • 可选spineVersion?: string
  • 可选UI?: any
  • 可选workerLoaderLib?: string