Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move-nodes-on-touch #10

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Assets/Scripts/asteroid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ private void Update()

private void IsSelected()
{
// TODO slow down but don't stop on touch
var velocity = _rigidbody2D.velocity;
_startSpeed = velocity.magnitude;
velocity *= slowSpeed;
Expand Down
6 changes: 3 additions & 3 deletions ProjectSettings/EditorBuildSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/Scenes/FreePlay.unity
guid: a77bb6892b2f12e41915cbddaa1626d9
- enabled: 1
path: Assets/Scenes/MainMenu.unity
guid: 8bbbd2fca55eef849aa73b93c4e7b09f
- enabled: 1
path: Assets/Scenes/FreePlay.unity
guid: a77bb6892b2f12e41915cbddaa1626d9
m_configObjects: {}