This commit is contained in:
陈思海 2025-03-24 13:17:04 +08:00
parent 7f5160e035
commit d87afc26fa
3 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using AlicizaX.Editor;
using AlicizaX.Runtime;
using AlicizaX;
using UnityEditor;
using UnityEngine;

View File

@ -1,5 +1,5 @@
using System;
using AlicizaX.Runtime;
using AlicizaX;
using UnityEditor;
using UnityEngine.Serialization;
using YooAsset.Editor;

View File

@ -55,8 +55,8 @@ public class SwitchSceneToolBar : IMGUIContainer
var scenePath = AssetDatabase.GUIDToAssetPath(sceneGuids[i]);
sceneAssetList.Add(scenePath);
string fileDir = System.IO.Path.GetDirectoryName(scenePath);
bool isInRootDir = AlicizaX.Runtime.Utility.Path.GetRegularPath(BundleScenePath).TrimEnd('/') ==
AlicizaX.Runtime.Utility.Path.GetRegularPath(fileDir).TrimEnd('/');
bool isInRootDir = AlicizaX.Utility.Path.GetRegularPath(BundleScenePath).TrimEnd('/') ==
AlicizaX.Utility.Path.GetRegularPath(fileDir).TrimEnd('/');
var sceneName = System.IO.Path.GetFileNameWithoutExtension(scenePath);
string displayName = sceneName;
if (!isInRootDir)