Skip to main content

EmbeddableGlobalSettings

A class in Root.Township, the global namespace.

Global settings for embedding (such as arrows sticking into things): whether only pickups with a given tag can be embedded into.

Constructors​

MemberWhat it is
EmbeddableGlobalSettings()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private bool isRestrictingPickupsByTagBacking field for IsRestrictingPickupsByTag.
private PickupTag validPickupsToEmbedIntoBacking field for ValidPickupsToEmbedInto.

Properties​

MemberWhat it is
bool IsRestrictingPickupsByTag { get; }Whether embedding into pickups is limited by tag.
PickupTag ValidPickupsToEmbedInto { get; }Tag a pickup needs to be embedded into when the restriction is on.