Class PlotFoundationVisual
The look of a housing plot: its deed post, the staked rope round an empty lot, a builder's scaffold while it is a building site, a stone footing once it is a home, and a leaning post over bare stakes when it has been abandoned. Client only; built from the plot's own size.
[RequireComponent(typeof(PlotFoundation))]
public class PlotFoundationVisual : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourPlotFoundationVisual
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.destroyCancellationTokenMonoBehaviour.useGUILayoutMonoBehaviour.didStartMonoBehaviour.didAwakeMonoBehaviour.runInEditModeBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.GetComponentIndex()Component.CompareTag(TagHandle)Component.transformComponent.transformHandleComponent.gameObjectComponent.tagObject.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
Nothing here collides. The plot volume is a box the server tests positions against (Bounds); a collider that size would stop anyone walking onto the lot and swallow every aim ray pointed past it. The only collider is the post's, on the foundation object itself, so the post can be targeted and interacted with.
Built procedurally rather than from a prefab per size because lots come in several sizes and the rope and footing follow the edge. One mesh per state, made on first use.
Fields
Board
The deed board on the post.
public Material Board
Field Value
- Material
Rope
The rope between the stakes.
public Material Rope
Field Value
- Material
Stone
The footing of a finished house.
public Material Stone
Field Value
- Material
Wood
Post, stakes and scaffold timber.
public Material Wood
Field Value
- Material