mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-11-11 04:22:40 +00:00
Finished Textbox interaction
changed movement to pause it
This commit is contained in:
1 parent
3a81f1a122
commit
6a18528098
5 files changed
+77
-38
No files matched your search
@@ -142,7 +142,12 @@ public class Movement : MonoBehaviour
|
||||
m_Rigidbody2D.AddForce(new Vector2(0f, m_JumpForce));
|
||||
dj = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
m_Velocity = Vector3.zero;
|
||||
m_Rigidbody2D.velocity = m_Velocity;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user