Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void OpenMenu (float t){
- StartCoroutine(Lerp(t));
- }
- public Ienumerator Lerp(float t){
- while(Vector2.Distance(menuSubjectRect.position, novaPosiรงรฃo) > 1)
- {
- //Lerp here
- yield return null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement