using UnityEngine; using System.Collections; using System; namespace WorldStreamer2 { /// /// Contains information about scenes in collection /// [Obsolete("Not used any more", true)] [ExecuteInEditMode] [Serializable] public class SceneCollection : MonoBehaviour { /// /// The strem object name prefix. /// public string prefixName = "stream"; /// /// The scene name prefix. /// public string prefixScene = "Scene"; /// /// The path of scenes. /// public string path = "Assets/WorldStreamer/SplitScenes/"; /// /// The names of the scenes in collection. /// public string[] names; /// /// The is split by x. /// public bool xSplitIs = true; /// /// The is split by y. /// public bool ySplitIs = false; /// /// The is split by z. /// public bool zSplitIs = true; /// /// The size of the tile in x. /// public int xSize = 10; /// /// The size of the tile in y. /// public int ySize = 10; /// /// The size of the tile in z. /// public int zSize = 10; /// /// The x axis limits. /// public int xLimitsx = int.MaxValue; public int xLimitsy = int.MinValue; /// /// The y axis limits. /// public int yLimitsx = int.MaxValue; /// /// The y axis limits. /// public int yLimitsy = int.MinValue; /// /// The z axis limits. /// public int zLimitsx = int.MaxValue; /// /// The z axis limits. /// public int zLimitsy = int.MinValue; /// /// The collapsed for scene collection editor. /// [HideInInspector] public bool collapsed = true; /// /// The layer number for scene collection editor. /// [HideInInspector] public int layerNumber = 0; /// /// The color. /// public Color color = Color.red; } }