Skip to content

Commit 16df590

Browse files
committed
* Added getter IsEmpty
1 parent ab23d70 commit 16df590

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Assets/DevLocker/Utils/SceneReference.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ public string ScenePath
7979
/// </summary>
8080
public string SceneName => Path.GetFileNameWithoutExtension(ScenePath);
8181

82+
public bool IsEmpty => string.IsNullOrEmpty(ScenePath);
83+
8284
public SceneReference() { }
8385

8486
public SceneReference(string scenePath)

0 commit comments

Comments
 (0)