Commit 068d5b57 by Philipp Adolf

Change velocity to Vector2

parent da640815
......@@ -46,7 +46,7 @@ public class PlayerControl : MonoBehaviour
public float normalizedHorizontalSpeed = 0;
[HideInInspector]
public Vector3 velocity;
public Vector2 velocity;
public int playerNumber = 1; //gibt an, ob es sich um player one, player two, etc. handelt. sollte nicht 0 sein;
KeyCode[] keyCodes = new KeyCode[Keys.GetNames(typeof(Keys)).Length];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment