Skip to main content

Bone

A class in Root.Township, the global namespace.

Editor helper that draws gizmo lines from this transform to each child, to show a bone chain.

Constructors​

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

Fields​

1 private and internal field
MemberWhat it is
private Color colorGizmo line colour.

Methods​

1 private and internal method
MemberWhat it is
private void OnDrawGizmos()Draws a line to each child in color.

Used in​

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