public string GetSceneOrFileName() { if (SceneName.IsNotNullOrWhiteSpace()) { return(SceneName); } if (RelativePath.IsNotNullOrWhiteSpace()) { return(System.IO.Path.GetFileName(RelativePath)); } return(string.Empty); }
public string GetSceneOrFileName() { if (SceneName.IsNotNullOrWhiteSpace()) { return(SceneName); } if (RelativePath.IsNotNullOrWhiteSpace()) { return(System.IO.Path.GetFileName(RelativePath)); } return(string.Empty); }