|
|
@ -8,7 +8,7 @@ using UnityEngine.UIElements; |
|
|
|
public class Player : MonoBehaviour |
|
|
|
{ |
|
|
|
const bool ALLOW_DROP = false; |
|
|
|
const float SPEED = 2000f; |
|
|
|
const float SPEED = 1500f; |
|
|
|
[SerializeField] KeyCode _keyLeft; |
|
|
|
[SerializeField] KeyCode _keyRight; |
|
|
|
[SerializeField] KeyCode _keyDown; |
|
|
@ -231,7 +231,7 @@ public class Player : MonoBehaviour |
|
|
|
category.ShowFeedbackBad(_categoryName); |
|
|
|
this.gameObject.SetActive(false); |
|
|
|
//Respawn();
|
|
|
|
Invoke("Respawn", 2f); |
|
|
|
Invoke("Respawn", 1f); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|