MoveToBone
A class in Root.Township, the global namespace.
Reparents its GameObject onto a bone of a character dummy on Awake.
- Listed in Global namespace: M to O
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
MoveToBone() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private BoneIdentifier bone | Bone to attach to. |
private CharacterDummyPointer dummy | Pointer to the character dummy that owns the bone. |
Methods
| Member | What it is |
|---|---|
void Move() | Parents this object to the chosen bone and resets its local transform. |