mappoint - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Movement
Inherits from UnityEngine.MonoBehaviour
A target for a MapPointManager-Setup().
public class MapPoint : MonoBehaviour| Name | Description |
|---|---|
| CreateNewTpOptionObject() | Creates the a new default TP-Option to teleport to at Vector3.forward * _createdTpOptionRadius. |
| Make sure to configure it properly by setting a destination and rotating/moving it. | |
| Attention!: Only available in the editor. | |
| SetPlayerPresent(bool) | (De-)activates the 'Player Present' GameObject. |
| SetTeleportModeVisible(bool) | Changes visibility of the 'Show In TP Mode' and 'Hide In TP Mode' GameObjects. |
| Their state will be always inverse ('Show In TP Mode'.active = !'Hide In TP Mode'.active). |