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

View File

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