mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-26 20:34:22 -05:00
made dash use R button
This commit is contained in:
@@ -3640,7 +3640,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxVel: 45
|
||||
minVel: 15
|
||||
minVel: 18
|
||||
curVel: 0
|
||||
hardCapMaxVel: 90
|
||||
acc: 0.02
|
||||
|
||||
@@ -302,7 +302,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxVel: 45
|
||||
minVel: 15
|
||||
minVel: 18
|
||||
curVel: 0
|
||||
hardCapMaxVel: 90
|
||||
acc: 0.02
|
||||
|
||||
@@ -261,7 +261,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxVel: 45
|
||||
minVel: 15
|
||||
minVel: 18
|
||||
curVel: 0
|
||||
hardCapMaxVel: 90
|
||||
acc: 0.02
|
||||
|
||||
@@ -301,7 +301,7 @@ MonoBehaviour:
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
maxVel: 45
|
||||
minVel: 15
|
||||
minVel: 18
|
||||
curVel: 0
|
||||
hardCapMaxVel: 90
|
||||
acc: 0.02
|
||||
|
||||
@@ -2308,7 +2308,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6664667533527261801, guid: 6adb8bcc65ee3a54da64d7c65225f219, type: 3}
|
||||
propertyPath: minVel
|
||||
value: 15
|
||||
value: 18
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 6664667533527261801, guid: 6adb8bcc65ee3a54da64d7c65225f219, type: 3}
|
||||
propertyPath: hasGrapple
|
||||
|
||||
@@ -33,7 +33,7 @@ public class Dash : NetworkBehaviour{
|
||||
void DashPlayer(){
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
if(characterController.enabled == true){
|
||||
if ((Input.GetKeyDown(KeyCode.E) || Input.GetAxis("Dash") != 0) && isOnCoolDown == false)
|
||||
if ((Input.GetKeyDown(KeyCode.R) || Input.GetAxis("Dash") != 0) && isOnCoolDown == false)
|
||||
{
|
||||
currentDashTime = 0;
|
||||
StartCoroutine(startCoolDown());
|
||||
|
||||
@@ -6,7 +6,7 @@ EditorUserSettings:
|
||||
serializedVersion: 4
|
||||
m_ConfigSettings:
|
||||
RecentlyUsedScenePath-0:
|
||||
value: 22424703114646680e0b0227036c6b19021b1d192f2d2835633c133af6f9
|
||||
value: 22424703114646680e0b0227036c731f1415016439262f2434
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-1:
|
||||
value: 22424703114646680e0b0227036c6f1f05033f2b212d68252320092a
|
||||
@@ -24,10 +24,7 @@ EditorUserSettings:
|
||||
value: 22424703114646680e0b0227036c7b151b180b6501273035202c1327d1e33136e7a923e7ee2e26
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-6:
|
||||
value: 22424703114646680e0b0227036c7b151b180b6501273035202c1327d1e33136e7a923e7ee2e26
|
||||
flags: 0
|
||||
RecentlyUsedScenePath-7:
|
||||
value: 22424703114646680e0b0227036c7b151b180b652b3a27292f260573f1e33136e7a923e7ee2e26
|
||||
value: 22424703114646680e0b0227036c6f02131b172b282d347e38271427fb
|
||||
flags: 0
|
||||
vcSharedLogLevel:
|
||||
value: 0d5e400f0650
|
||||
|
||||
Reference in New Issue
Block a user