Class CaveCoverSite
What a carved cave's run-time cover is made of (2026-10-20): the cover types it grows (CaveCoverType bits), its density and glow, and the colours its glowing cover takes. Decided at the cut from the cave's biome and form (the editor's CaveCoverSpecies.For) and written on the cave's client-only Visual beside its CaveVisibility, because at run time the client knows neither: the cover renderer (FishMMO.Client CaveCoverSystem) reads it from there.
[DisallowMultipleComponent]
public sealed class CaveCoverSite : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourCaveCoverSite
- 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.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 cave cut before it has none: the renderer then draws Natural with Default's colours, so an old scene still has cover until its points of interest are regenerated.
Fields
Default
The choice a cave with none carries.
public static readonly CaveCoverSite.Choice Default
Field Value
Properties
Bake
The cave's rock as the cover reads it, or null (cut before the bake).
public CaveCoverBake Bake { get; }
Property Value
Current
The cave's choice as stored.
public CaveCoverSite.Choice Current { get; }
Property Value
Methods
Configure(in Choice)
Set by the cut.
public void Configure(in CaveCoverSite.Choice choice)
Parameters
choiceCaveCoverSite.Choice
SetBake(CaveCoverBake)
Set by the cut.
public void SetBake(CaveCoverBake value)
Parameters
valueCaveCoverBake