Skip to main content

ThumbConfiguration

A class in Root.Township, the global namespace.

Asset that sets how the player's thumb rests and which axis it curls around, per hand.

Constructors​

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

Fields​

3 private and internal fields
MemberWhat it is
private Quaternion baseRotationBacking field for BaseRotation.
private Vector3 leftHandCurlAxisCurl axis for the left hand.
private Vector3 rightHandCurlAxisCurl axis for the right hand.

Properties​

MemberWhat it is
Quaternion BaseRotation { get; }Resting rotation of the thumb.

Methods​

MemberWhat it is
Vector3 CurlAxis(bool isLeftHand)Axis the thumb curls around for the left or right hand.

Used in​

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