Skip to main content

PositionRestrictorSaveData

A class in Root.Township, Alta.Pages.

Save data for a PositionRestrictor (save version 3): the allowed area and the spawn point players are sent back to.

Constructors​

MemberWhat it is
PositionRestrictorSaveData()Creates a PositionRestrictorSaveData with default values.

Fields​

MemberWhat it is
Vector3 autoJumpBackBoundSizeBox size used for the automatic jump back when using bounds.
float autoJumpBackRadiusRadius used for the automatic jump back when not using bounds.
Vector3 boundsSizeSize of the allowed box when isUsingBounds is true.
bool isUsingBoundsTrue to restrict to a box instead of a radius.
float radiusRadius of the allowed area when not using bounds.
Vector3 spawnLocationPositionPosition of the spawn location.
Quaternion spawnLocationRotationRotation of the spawn location.