public class MyCriAssetPostprocessor :
UnityEditor.AssetPostprocessor
{
void OnPreprocessAsset()
{
CriAssetImporter importer = assetImporter as CriAssetImporter;
if (importer == null) return;
var extension =
System.IO.Path.GetExtension(assetImporter.assetPath);
if (extension == ".acf" || extension == ".acb")
importer.implementation = new CriSerializedBytesAssetImplCreator();
if(extension ==".awb" || extension == ".usm")
importer.implementation = new CriCustomAddressableAssetImplCreator(CriAddressablesSetting.Instance.Remote);
}
}