public void OnPreprocessModel()
	{
		if (ImportSettingData.Setting.Toggle == false)
			return;

		string importAssetPath = this.assetPath;
		IAssetProcessor processor = ImportSettingData.GetCustomProcessor(importAssetPath);
		if (processor != null)
			processor.OnPreprocessModel(importAssetPath, this.assetImporter);
	}
Exemple #2
0
    public void OnPreprocessModel()
    {
        if (Setting == null)
        {
            LoadSettingFile();
        }
        if (Setting == null || Setting.Toggle == false)
        {
            return;
        }

        string          importAssetPath = this.assetPath;
        IAssetProcessor processor       = GetCustomProcessor(importAssetPath);

        if (processor != null)
        {
            processor.OnPreprocessModel(importAssetPath, this.assetImporter);
        }
    }