Created
December 10, 2013 01:37
-
-
Save jquave/7884450 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class PlayerSettings : MonoBehaviour { | |
| // Player settings | |
| public float slideTime = 0.5f; | |
| public float walkSpeed = 2.0f; | |
| public float maxWalkSpeed = 4.0f; | |
| public float initialJumpSpeed = 5.5f; | |
| public float airFriction = 0.4f; | |
| public float slideFriction = 0.4f; | |
| public float walkFriction = 1.0f; | |
| public float walkAcceleration = 70.0f; | |
| public float maxJumpHeight = 2.0f; | |
| public float jumpAccumulationVelocity = 0.2f; | |
| public float jumpAccumulationTime = 0.5f; | |
| public float maxFallSpeed = -7.0f; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment