MOD: Irgendwas von damals
This commit is contained in:
@@ -9,6 +9,8 @@ public class PlayerMover : MonoBehaviour
|
||||
public KeyCode left = KeyCode.A;
|
||||
public KeyCode right = KeyCode.D;
|
||||
|
||||
|
||||
|
||||
public Rigidbody2D rb;
|
||||
public float speed = 2f;
|
||||
|
||||
@@ -16,7 +18,6 @@ public class PlayerMover : MonoBehaviour
|
||||
void Start()
|
||||
{
|
||||
rb = GetComponent<Rigidbody2D>();
|
||||
rb.gravityScale = 0;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
|
Reference in New Issue
Block a user