MOD: Irgendwas von damals

This commit is contained in:
2024-09-05 11:46:56 +02:00
parent af24ed5c5b
commit 220db9fe87
22 changed files with 382 additions and 1 deletions

View File

@@ -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