Skip to main content

DummyArrow

A class in Root.Township, the global namespace.

Visual-only arrow with LODs, used where an arrow is shown but not fired. Configure adds the feathers.

Constructors​

MemberWhat it is
DummyArrow()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Fields​

3 private and internal fields
MemberWhat it is
private float[] androidLodLevelsLOD screen heights for Android. Configure doesn't read it in this build.
private Transform feathersPositionTransform the feather model is attached under.
private float[] lodLevelsLOD screen heights used by Configure, one per child of the feather model.

Methods​

MemberWhat it is
void Configure(Feather feather)Spawns the feather's bottom model at the feathers point and builds the LOD group from its children.

Used in​

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