Skip to main content

ImpactImmunityGroup

A class in Root.Township, Alta.Impact.

Asset for an impact immunity group. When a tool and a detector share a group, the hit's efficiency is multiplied by the group's Multiplier (see ImpactTool).

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private float multiplierBacking field for Multiplier.

Properties​

MemberWhat it is
float Multiplier { get; }Efficiency multiplier (0 to 1) for hits between a tool and detector that share this group.

Used in​

Members of other types that take, return or hold a ImpactImmunityGroup: