using UnityEngine; using System.Collections; using System.Collections.Generic; namespace WorldStreamer2 { /// /// Stores scene splitter settings. /// public class SceneSplitterSettings : MonoBehaviour { /// /// The scenes split path. /// public string scenesPath = "NatureManufacture Assets/WorldStreamer/SplitScenes"; public List sceneCollectionManagers = new List(); public string GetScenesPath() { string path = scenesPath; if (!path.StartsWith("Assets/")) { if (path.StartsWith("/") || path.StartsWith("\\")) path = "Assets" + scenesPath; else path = "Assets/" + scenesPath; } if (path[path.Length - 1] != '/' && path[path.Length - 1] != '\\') path += "/"; return path; } } }