Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
415 B
TypeScript
14 lines
415 B
TypeScript
'use strict';
|
|
import { ImporterBase } from '../common/base';
|
|
import { Material } from "../components/Material";
|
|
|
|
export class MaterialImporter extends ImporterBase {
|
|
type: string = 'base';
|
|
async import(): Promise<boolean> {
|
|
this._3dMeta.ver = '1.0.9';
|
|
this._3dMeta.importer = 'material';
|
|
this._2dTo3dSource = await Material.migrate(this.readJSONSync());
|
|
return true;
|
|
}
|
|
}
|