Class ScenePlotManifest
The housing lots a scene cut laid, kept beside the scene's terrain.
public class ScenePlotManifest : ScriptableObject
- Inheritance
-
ObjectScriptableObjectScenePlotManifest
- Inherited Members
-
ScriptableObject.SetDirty()ScriptableObject.CreateInstance<T>()Object.GetEntityId()Object.MemberwiseClone()Object.GetInstanceID()Object.GetHashCode()Object.InstantiateAsync<T>(T)Object.InstantiateAsync<T>(T, Transform)Object.InstantiateAsync<T>(T, Vector3, Quaternion)Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Scene)Object.Instantiate<T>(T, InstantiateParameters)Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.FindObjectsByType<T>()Object.FindObjectsByType<T>(FindObjectsInactive)Object.ToString()Object.nameObject.hideFlags
Remarks
A plot's database row is keyed by its scene and its key, and a key is only worth anything if the land it names stays where it was. A re-cut builds the whole scene again from the planet, so anything that changed upstream — a template, an erosion setting, the generator itself — could move every lot. The cut reads this before it clears the old scene and lays every lot in it again exactly where it stood, at the same floor height, before it looks for room for new ones; owned land never moves.
Fields
CurrentFormat
Bumped when ScenePlotManifest.Lot changes meaning.
public const int CurrentFormat = 1
Field Value
Format
The format this asset was written in.
public int Format
Field Value
Lots
Every lot, in the order laid.
public List<ScenePlotManifest.Lot> Lots
Field Value
Methods
AssetPath(string, string)
The manifest's path in a scene's terrain folder.
public static string AssetPath(string terrainFolder, string sanitizedSceneName)