diff --git a/.gitignore b/.gitignore index b08fea0..0a046de 100644 --- a/.gitignore +++ b/.gitignore @@ -1,45 +1,59 @@ -# =============== # -# Unity generated # -# =============== # -[Tt]emp/ -[Oo]bj/ -[Bb]uild -/[Bb]uilds/ +# This .gitignore file should be placed at the root of your Unity project directory +# +# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore +# /[Ll]ibrary/ +/[Tt]emp/ +/[Oo]bj/ +/[Bb]uild/ +/[Bb]uilds/ +/[Ll]ogs/ +/[Mm]emoryCaptures/ + +# Never ignore Asset meta data +!/[Aa]ssets/**/*.meta + +# Uncomment this line if you wish to ignore the asset store tools plugin +# /[Aa]ssets/AssetStoreTools* + +# Autogenerated Jetbrains Rider plugin +[Aa]ssets/Plugins/Editor/JetBrains* + +# Visual Studio cache directory +.vs/ + +# Gradle cache directory +.gradle/ + +# Autogenerated VS/MD/Consulo solution and project files +ExportedObj/ +.consulo/ +*.csproj +*.unityproj +*.sln +*.suo +*.tmp +*.user +*.userprefs +*.pidb +*.booproj +*.svd +*.pdb +*.mdb +*.opendb +*.VC.db + +# Unity3D generated meta files +*.pidb.meta +*.pdb.meta +*.mdb.meta + +# Unity3D generated file on crash reports sysinfo.txt -*.stackdump -/Assets/AssetStoreTools* + +# Builds *.apk *.unitypackage - -# ===================================== # -# Visual Studio / MonoDevelop generated # -# ===================================== # -[Ee]xported[Oo]bj/ -.vs/ -/*.userprefs -/*.csproj -/*.pidb -*.pidb.meta -/*.suo -/*.sln* -/*.user -/*.unityproj -/*.booproj -.consulo/ -/*.tmp -/*.svd - -# ============ # -# OS generated # -# ============ # -.DS_Store* -._* -.Spotlight-V100 -.Trashes -Icon? -ehthumbs.db -[Tt]humbs.db -[Dd]esktop.ini -Corridor/Library/ShaderCache/ -Corridor/Library/metadata/ + +# Crashlytics generated file +crashlytics-build.properties diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 060b21a..7aae3ff 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -32,7 +32,8 @@ public class PlayerController : MonoBehaviour if (extraJump == true) { moveDirection = moveDirection.normalized * speed; //Remove this line to make running diagonal the fastest standard run - } else { + } else + { moveDirection = (moveDirection.normalized * speed)/4; //Remove this line to make running diagonal the fastest standard run }