Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void MovePageUp()
- {
- StartCoroutine(PageMoveUp());
- }
- IEnumerator PageMoveUp()
- {
- {
- while (MainPageText.transform.localPosition.y < 600.0f)
- {
- UIYCoord += 70.0f * Time.deltaTime;
- yield return null;
- }
- UIYCoord = -600.0f;
- MainPageText.transform.localPosition = new Vector3(20.0f, -600.0f, 0.0f);
- Debug.Log("Верхний предел");
- // MovePageUp();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement