mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-30 13:38:46 +00:00
style : Code text indent format
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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 ↓";
|
||||||
|
|||||||
Reference in New Issue
Block a user