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>
This commit is contained in:
14
extensions/plugin-import-2x/creator/convertor/gltf.ts
Normal file
14
extensions/plugin-import-2x/creator/convertor/gltf.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
import { ImporterBase } from '../common/base';
|
||||
|
||||
export class GltfImporter extends ImporterBase {
|
||||
type: string = 'base';
|
||||
async import(): Promise<boolean> {
|
||||
this._3dMeta.ver = '2.0.8';
|
||||
this._3dMeta.importer = 'gltf';
|
||||
this._3dMeta.userData.imageMetas = [];
|
||||
this._3dMeta.userData.legacyFbxImporter = false;
|
||||
this._3dMeta.userData.disableMeshSplit = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user