123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //using XGame.Editor.Asset.Processor;
- //using UnityEditor;
- //using UnityEngine;
- //using XGame.Editor.Asset;
- //namespace FL.Editor.Imports
- //{
- // public class XAssetPostprocessor : AssetPostprocessor
- // {
- // private const string asset_res = "Assets/Res/";
- // public static void OnPostprocessAllAssets(string[] importedAsset, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
- // {
- // }
- // void OnPreprocessTexture()
- // {
- // var textureImporter = (TextureImporter)assetImporter;
- // if (AssetsConfig.ImportHandle.TryApplyTextureImporter(assetPath, textureImporter))
- // {
- // return;
- // }
- // }
- // void OnPostprocessTexture(Texture2D texture)
- // {
- // }
- // void OnPreprocessModel()
- // {
- // var modelImporter = (ModelImporter)assetImporter;
- // if (AssetsConfig.ImportHandle.TryApplyModelImporter(assetPath, modelImporter))
- // {
- // }
- // }
- // void OnPostprocessModel(GameObject model)
- // {
- // }
- // }
- //}
|