AdjustHeight
A class in Root.Township, the global namespace.
Client: moves target transforms to a fraction of the local player's head height.
- Listed in Global namespace: A to B
- Inherits or implements
MonoBehaviour
Constructors
| Member | What it is |
|---|---|
AdjustHeight() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
4 private and internal fields
Methods
| Member | What it is |
|---|---|
void UpdateHeight() | Starts the height adjustment. |
void UpdatePercentage(float newPercentage) | Changes the fraction of the player's height used. |