111
This commit is contained in:
22
Assets/ThirdParty/Tools/MeshCombineStudio/Editor/DetectMeshImportSettingsChange.cs
vendored
Normal file
22
Assets/ThirdParty/Tools/MeshCombineStudio/Editor/DetectMeshImportSettingsChange.cs
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
|
||||
namespace MeshCombineStudio
|
||||
{
|
||||
public class DetectMeshImportSettingsChange : AssetPostprocessor
|
||||
{
|
||||
void OnPreprocessModel()
|
||||
{
|
||||
// ModelImporter importer = (ModelImporter)assetImporter;
|
||||
|
||||
// List<MeshCombiner> instances = MeshCombiner.instances;
|
||||
|
||||
// Debug.Log("MeshCombiner instances " + instances.Count);
|
||||
|
||||
MeshCombineJobManager.ResetMeshCache();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user