Advertisement
Guest User

Untitled

a guest
Sep 19th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. [19.09.14, 16:49:54] Pavel Kivalin: On 19.09.14, at 16:37, Pavel Kivalin wrote:
  2. > when you sent payment?
  3. [19.09.14, 16:50:51] Customer: When you give me completed work
  4. [19.09.14, 16:51:04] Pavel Kivalin: i don't send you source without payment
  5. [19.09.14, 16:52:30] Pavel Kivalin: Will you pay or not?
  6. [19.09.14, 16:53:42] Customer: I can pay now, can you show me the commenting
  7. [19.09.14, 16:54:19] Pavel Kivalin: /// <summary>
  8. /// Restart the specified levelNumber.
  9. /// </summary>
  10. /// <param name="levelNumber">Level number.</param>
  11. public void restart(int levelNumber = -1)
  12. {
  13. if (_curLevel != null)
  14. Destroy(_curLevel);
  15.  
  16. if (levelNumber != -1)
  17. {
  18. _curLevelNumber = levelNumber;
  19. gameManager.curLevelNumber = _curLevelNumber;
  20. }
  21. _curLevel = Instantiate(Resources.Load("Level" + _curLevelNumber, typeof(GameObject))) as GameObject;
  22. _curLevel.transform.parent = transform;
  23. UserData.bestScore = score;
  24. startGame();
  25. }
  26. /// <summary>
  27. /// Awake this instance.
  28. /// </summary>
  29. void Awake()
  30. {
  31. optionsBtn.OnClick += showOptions;
  32. X_BOUNDS = new Vector2(-targetCamera.NativeResolution.x / 2.0f - 100, targetCamera.NativeResolution.x / 2.0f + 100);
  33. Y_BOUNDS = new Vector2(-targetCamera.NativeResolution.y / 2.0f, targetCamera.NativeResolution.y / 2.0f);
  34. }
  35. /// <summary>
  36. /// Shows the options.
  37. /// </summary>
  38. void showOptions()
  39. {
  40. optionsScreen.show();
  41. }
  42.  
  43. public void init()
  44. {
  45. }
  46. /// <summary>
  47. /// Show this instance.
  48. /// </summary>
  49. public void show()
  50. {
  51. optionsScreen.gameObject.SetActive(false);
  52. optionsBtn.gameObject.SetActive(true);
  53. gameObject.SetActive(true);
  54. for (int i = 0; i < stars.Length; i++)
  55. stars[i].gameObject.SetActive(true);
  56. }
  57. /// <summary>
  58. /// Hide this instance.
  59. /// </summary>
  60. public void hide()
  61. {
  62. Debug.Log("hide");
  63. optionsBtn.gameObject.SetActive(false);
  64. //joystick.SetActive(false);
  65. gameObject.SetActive(false);
  66. for (int i = 0; i < stars.Length; i++)
  67. {
  68. stars[i].SetSprite("star_icon_empty");
  69. stars[i].gameObject.SetActive(false);
  70. }
  71. }
  72. [19.09.14, 16:57:03] Pavel Kivalin: and?
  73. [19.09.14, 17:00:07] Customer: I am getting my partner to check.
  74. [19.09.14, 17:39:08] Customer: I am closing contract now you can upload files to dropbox please
  75. [19.09.14, 17:41:52] Pavel Kivalin: yes
  76. [19.09.14, 17:42:01] Pavel Kivalin: i finish commenting and upload
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement