A class in Root.Township, the global namespace.
Sets a fixed local position, rotation and scale on one bone of a character dummy's rig when it wakes.
Constructors
| Member | What it is |
|---|
TransformBone() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
5 private and internal fields
| Member | What it is |
|---|
private BoneIdentifier bone | Which bone to move. |
private CharacterDummyPointer dummy | Pointer to the character dummy that owns the rig. |
private Vector3 position | Local position to set. |
private Vector3 rotation | Local rotation to set, as Euler angles. |
private Vector3 scale | Local scale to set. |
Methods
| Member | What it is |
|---|
void Move() | Looks up the bone on the dummy's rig map and applies the stored local position, rotation and scale. |
1 private and internal method
| Member | What it is |
|---|
private void Awake() | Calls Move. |