Attach this to the character, optionally also add a rigidbody, just cuz.
More...
Attach this to the character, optionally also add a rigidbody, just cuz.
◆ Start()
void MegaCrush.RuntimeSpawnerSample.CharController.Start |
( |
| ) |
|
|
private |
◆ Update()
void MegaCrush.RuntimeSpawnerSample.CharController.Update |
( |
| ) |
|
|
private |
◆ controller
CharacterController MegaCrush.RuntimeSpawnerSample.CharController.controller |
|
private |
◆ currentSpeed
float MegaCrush.RuntimeSpawnerSample.CharController.currentSpeed = 0f |
|
private |
◆ desiredSpeed
float MegaCrush.RuntimeSpawnerSample.CharController.desiredSpeed = 0f |
|
private |
◆ forward
Vector3 MegaCrush.RuntimeSpawnerSample.CharController.forward |
|
private |
◆ gravity
float MegaCrush.RuntimeSpawnerSample.CharController.gravity = 20.0f |
float MegaCrush.RuntimeSpawnerSample.CharController.h |
|
private |
◆ lastDirection
Vector3 MegaCrush.RuntimeSpawnerSample.CharController.lastDirection = Vector3.zero |
|
private |
◆ mainCamera
Camera MegaCrush.RuntimeSpawnerSample.CharController.mainCamera |
|
private |
◆ moveDirection
Vector3 MegaCrush.RuntimeSpawnerSample.CharController.moveDirection = Vector3.zero |
|
private |
◆ moveThreshold
float MegaCrush.RuntimeSpawnerSample.CharController.moveThreshold = 0.1f |
◆ right
Vector3 MegaCrush.RuntimeSpawnerSample.CharController.right |
|
private |
float MegaCrush.RuntimeSpawnerSample.CharController.v |
|
private |
◆ walkSpeed
float MegaCrush.RuntimeSpawnerSample.CharController.walkSpeed = 3.0f |
The documentation for this class was generated from the following file:
- D:/projects/Asset Store Packages/com.pixelwizards.runtimespawner/Samples~/RuntimeSpawnerSample/Code/Runtime/Player/CharController.cs