mirror of
https://github.com/OMGeeky/GameDevGameJamV2.git
synced 2025-12-27 06:29:18 +01:00
Main Menu & Pausing
This commit is contained in:
@@ -14,7 +14,7 @@ public class CharacterController2D : MonoBehaviour
|
||||
{
|
||||
public bool active = true;
|
||||
[SerializeField] private float jumpForce = 50f; // Amount of force added when the player jumps.
|
||||
[Range( 0 , .3f )] [SerializeField] private float movementSmoothing = .05f;// How much to smooth out the movement
|
||||
// [Range( 0 , .3f )] [SerializeField] private float movementSmoothing = .05f;// How much to smooth out the movement
|
||||
[SerializeField] private bool airControl = true; // Whether or not a player can steer while jumping;
|
||||
[SerializeField] private LayerMask whatIsGround; // A mask determining what is ground to the character
|
||||
[Range( 0 , 2 )] [SerializeField] private float groundedRadius = 1.5f; // Radius of the overlap circle to determine if grounded
|
||||
|
||||
Reference in New Issue
Block a user