Finished Textbox interaction

changed movement to pause it
This commit is contained in:
Rizvee committed 2022-02-23 20:09:45 -06:00
1 parent 3a81f1a122
commit 6a18528098
5 files changed
+77 -38

No files matched your search

+6 -1
View File
@@ -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;
}
}