style : Code text indent format

pull/229/head
hevinci 2023-12-21 19:29:26 +08:00
parent 544832c46a
commit 727f356eea
112 changed files with 8639 additions and 8639 deletions

View File

@ -36,7 +36,7 @@ namespace YooAsset.Editor
else else
{ {
AssetBundle newBundle = AssetBundle.LoadFromFile(filePath); AssetBundle newBundle = AssetBundle.LoadFromFile(filePath);
if(newBundle != null) if (newBundle != null)
{ {
string[] assetNames = newBundle.GetAllAssetNames(); string[] assetNames = newBundle.GetAllAssetNames();
foreach (string name in assetNames) foreach (string name in assetNames)
@ -54,7 +54,7 @@ namespace YooAsset.Editor
/// </summary> /// </summary>
public static void UnloadAll() public static void UnloadAll()
{ {
foreach(var valuePair in _loadedAssetBundles) foreach (var valuePair in _loadedAssetBundles)
{ {
if (valuePair.Value != null) if (valuePair.Value != null)
valuePair.Value.Unload(true); valuePair.Value.Unload(true);

View File

@ -103,7 +103,7 @@ namespace YooAsset.Editor
else else
return result.OrderBy(a => a.AssetPath).ToList(); return result.OrderBy(a => a.AssetPath).ToList();
} }
else if(_sortMode == ESortMode.AssetType) else if (_sortMode == ESortMode.AssetType)
{ {
if (_descendingSort) if (_descendingSort)
return result.OrderByDescending(a => a.AssetType).ToList(); return result.OrderByDescending(a => a.AssetType).ToList();
@ -143,7 +143,7 @@ namespace YooAsset.Editor
else else
_topBar1.text = $"Asset Path ({_assetListView.itemsSource.Count}) ↑"; _topBar1.text = $"Asset Path ({_assetListView.itemsSource.Count}) ↑";
} }
else if(_sortMode == ESortMode.AssetType) else if (_sortMode == ESortMode.AssetType)
{ {
if (_descendingSort) if (_descendingSort)
_topBar2.text = "Asset Type ↓"; _topBar2.text = "Asset Type ↓";