LocalMoveTest
A class in Root.Township, the global namespace.
Test component that moves or spins its object in a loop on the server, to test syncing of moving things.
- Listed in Global namespace: I to L
- Inherits or implements
MonoBehaviour - Nested types
Type
Constructors
| Member | What it is |
|---|---|
LocalMoveTest() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
5 private and internal fields
| Member | What it is |
|---|---|
private float magnitude | Distance of the sine movement. |
private Vector3 position | Start position. |
private Quaternion rotation | Start rotation. |
private float speed | Rate of the motion. |
private LocalMoveTest.Type type | Which motion to run: Y rotation, Y movement or X movement. |