mirror of
https://github.com/GrahamKracker/UnityExplorer.git
synced 2025-07-01 19:13:03 +08:00
Fix InspectingAssetScene returning incorrect value
This commit is contained in:
@ -45,7 +45,7 @@ namespace UnityExplorer.ObjectExplorer
|
|||||||
internal static int DefaultSceneCount => 1 + (DontDestroyExists ? 1 : 0);
|
internal static int DefaultSceneCount => 1 + (DontDestroyExists ? 1 : 0);
|
||||||
|
|
||||||
/// <summary>Whether or not we are currently inspecting the "HideAndDontSave" asset scene.</summary>
|
/// <summary>Whether or not we are currently inspecting the "HideAndDontSave" asset scene.</summary>
|
||||||
public static bool InspectingAssetScene => SelectedScene.HasValue && SelectedScene.Value == default;
|
public static bool InspectingAssetScene => SelectedScene.HasValue && SelectedScene.Value.handle == -1;
|
||||||
|
|
||||||
/// <summary>Whether or not we successfuly retrieved the names of the scenes in the build settings.</summary>
|
/// <summary>Whether or not we successfuly retrieved the names of the scenes in the build settings.</summary>
|
||||||
public static bool WasAbleToGetScenesInBuild { get; private set; }
|
public static bool WasAbleToGetScenesInBuild { get; private set; }
|
||||||
|
Reference in New Issue
Block a user