Class ScenePointOfInterest
A generated point of interest in its scene: the transform the site stands at, and the landmark the world map draws for it.
[DisallowMultipleComponent]
public class ScenePointOfInterest : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourScenePointOfInterest
- 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
Written by the scene generator under the scene's "Points of Interest" root, one per record of the scene's ScenePointsOfInterest asset, and harvested by the world scene details cache into WorldSceneDetails the way waypoints are, so a POI stays on the map whether or not a world map has been baked. It takes the place of a MapPointOfInterest on generated sites, which keeps working for hand-placed landmarks.
Shared and scene-resident in both builds: it carries no visuals and no collider. What a site BUILDS (spawners, a waypoint, a region, a portal) hangs under it as children.
Fields
Description
[TextArea(1, 3)]
public string Description
Field Value
DetailTier
public int DetailTier
Field Value
Entrances
The site's other ways in, each drawn as its own entry: written by the generator after the site is built.
public List<ScenePointOfInterestEntrance> Entrances
Field Value
HoldsDungeon
The site is a dungeon's way in (a crypt or a barrow over its stair, 2026-10-20): its own entry is drawn as a dungeon entrance, whatever its kind, so every dungeon reads as one on the map and under its filter.
public bool HoldsDungeon
Field Value
Id
The record's id in the scene's POI asset.
public int Id
Field Value
Kind
public POIType Kind
Field Value
PointName
public string PointName
Field Value
Race
The race's naming key, when the site has one.
public string Race
Field Value
Radius
The footprint radius in metres.
public float Radius
Field Value
RequiresDiscovery
public bool RequiresDiscovery
Field Value
Properties
ResolvedName
The name drawn on the map: the generated name, else the GameObject's.
public string ResolvedName { get; }
Property Value
Methods
AppendDetails(List<MapPointOfInterestDetails>)
Adds the site's own entry and one for each of its Entrances.
public void AppendDetails(List<MapPointOfInterestDetails> into)
Parameters
Apply(PointOfInterestRecord)
Copies a record's fields onto this component and its transform.
public void Apply(PointOfInterestRecord record)
Parameters
recordPointOfInterestRecord
DungeonLine(string, string)
The tooltip of a site that is a dungeon's way in: what it is first, then its own description.
public static string DungeonLine(string kindName, string description)
Parameters
Returns
ToDetails()
The map entry this POI is drawn as: a dungeon entrance when it HoldsDungeon, else its kind.
public MapPointOfInterestDetails ToDetails()