Modifier

Partager via


TetheredPlacement.DistanceThreshold Property

Definition

The distance from the GameObject's spawn position at which will trigger a respawn.

public:
 property float DistanceThreshold { float get(); void set(float value); };
public float DistanceThreshold { get; set; }
member this.DistanceThreshold : single with get, set
Public Property DistanceThreshold As Single

Property Value

Remarks

Also updates a local cache of this value squared for performant distance checking.

Applies to