/// <summary> /// Scan the asset type /// </summary> /// <param name="assetType"></param> public void Scan(AssetType assetType, string filter = null) { assetType.ValidateExportPath(); switch (assetType) { case AssetType.Texture: ScanTexture(filter); break; case AssetType.SpriteAtlas: ScanSpriteAtlas(filter); break; case AssetType.Animation: ScanAnimation(filter); break; case AssetType.Model: ScanModel(filter); break; case AssetType.AudioClip: ScanAudioClip(filter); break; default: UnityEngine.Debug.LogError($"[ResourceStatistics.Application] Not implemented asset type {assetType}"); break; } }