Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vector2 acc = new Vector2(-UserInput.AccInput.DeviceAcceleration.X, -UserInput.AccInput.DeviceAcceleration.Y);
- if (Vector2.Distance(Vector2.Zero, acc) > 0.75f)
- {
- // Provede zklepnutí všech míčků...
- }
Advertisement
Add Comment
Please, Sign In to add comment