Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 KB | None | 0 0
  1.     public void MovePageUp()
  2.     {
  3.         StartCoroutine(PageMoveUp());
  4.  
  5.     }
  6.  
  7.     IEnumerator PageMoveUp()
  8.     {
  9.      
  10.         {
  11.            
  12.             while (MainPageText.transform.localPosition.y < 600.0f)
  13.             {
  14.                 UIYCoord += 70.0f * Time.deltaTime;
  15.                 yield return null;
  16.             }
  17.             UIYCoord = -600.0f;
  18.             MainPageText.transform.localPosition = new Vector3(20.0f, -600.0f, 0.0f);
  19.             Debug.Log("Верхний предел");
  20.            // MovePageUp();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement