Skip to main content

PlayerDetectSaveData

A internal class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Save data (version 2) for a PlayerDetect trigger: its detection radius, or box bounds if it uses bounds.

Constructors​

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

Fields​

MemberWhat it is
Vector3 boundsSizeSavedSize of the detection box, used when isUsingBoundsSaved is true.
bool isUsingBoundsSavedTrue if the detector uses a box (boundsSizeSaved) instead of a radius.
float radiusSavedDetection radius.