Files
刘宇飞 d393302388 Complete Cocos Creator port with level bundles, themes, and tooling.
Adds level prefabs, theme assets, audio, extensions, and deployment scripts for the Unity WebGL migration.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 15:30:58 +08:00

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;
}
}