Edit

Bagikan melalui


TransportToRespawnLocation Class

Definition

The associated GameObject acts as a teleporter to a referenced respawn location.

public ref class TransportToRespawnLocation : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/TransportToRespawnLocation")]
[UnityEngine.RequireComponent(typeof(UnityEngine.Collider))]
public class TransportToRespawnLocation : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/TransportToRespawnLocation")>]
[<UnityEngine.RequireComponent(typeof(UnityEngine.Collider))>]
type TransportToRespawnLocation = class
    inherit MonoBehaviour
Public Class TransportToRespawnLocation
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
TransportToRespawnLocation
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute

Constructors

TransportToRespawnLocation()

Applies to