Adding 9 Player level
This commit is contained in:
parent
fdada6f132
commit
a7be12fa9b
30 changed files with 45984 additions and 300 deletions
|
|
@ -38,6 +38,15 @@ namespace TD.Levels
|
|||
[Tooltip("Path to the scene this LevelData was baked from. Auto-populated by bake.")]
|
||||
public string ScenePath;
|
||||
|
||||
/// <summary>
|
||||
/// Just the scene name (no path, no extension) — what NetworkManager.SceneManager.LoadScene
|
||||
/// expects. Derived from <see cref="ScenePath"/>; returns empty string if ScenePath is unset.
|
||||
/// </summary>
|
||||
public string SceneName =>
|
||||
string.IsNullOrEmpty(ScenePath)
|
||||
? string.Empty
|
||||
: System.IO.Path.GetFileNameWithoutExtension(ScenePath);
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
// Bake metadata (used for dirty-detection and diagnostic display).
|
||||
// -------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue