Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [19.09.14, 16:49:54] Pavel Kivalin: On 19.09.14, at 16:37, Pavel Kivalin wrote:
- > when you sent payment?
- [19.09.14, 16:50:51] Customer: When you give me completed work
- [19.09.14, 16:51:04] Pavel Kivalin: i don't send you source without payment
- [19.09.14, 16:52:30] Pavel Kivalin: Will you pay or not?
- [19.09.14, 16:53:42] Customer: I can pay now, can you show me the commenting
- [19.09.14, 16:54:19] Pavel Kivalin: /// <summary>
- /// Restart the specified levelNumber.
- /// </summary>
- /// <param name="levelNumber">Level number.</param>
- public void restart(int levelNumber = -1)
- {
- if (_curLevel != null)
- Destroy(_curLevel);
- if (levelNumber != -1)
- {
- _curLevelNumber = levelNumber;
- gameManager.curLevelNumber = _curLevelNumber;
- }
- _curLevel = Instantiate(Resources.Load("Level" + _curLevelNumber, typeof(GameObject))) as GameObject;
- _curLevel.transform.parent = transform;
- UserData.bestScore = score;
- startGame();
- }
- /// <summary>
- /// Awake this instance.
- /// </summary>
- void Awake()
- {
- optionsBtn.OnClick += showOptions;
- X_BOUNDS = new Vector2(-targetCamera.NativeResolution.x / 2.0f - 100, targetCamera.NativeResolution.x / 2.0f + 100);
- Y_BOUNDS = new Vector2(-targetCamera.NativeResolution.y / 2.0f, targetCamera.NativeResolution.y / 2.0f);
- }
- /// <summary>
- /// Shows the options.
- /// </summary>
- void showOptions()
- {
- optionsScreen.show();
- }
- public void init()
- {
- }
- /// <summary>
- /// Show this instance.
- /// </summary>
- public void show()
- {
- optionsScreen.gameObject.SetActive(false);
- optionsBtn.gameObject.SetActive(true);
- gameObject.SetActive(true);
- for (int i = 0; i < stars.Length; i++)
- stars[i].gameObject.SetActive(true);
- }
- /// <summary>
- /// Hide this instance.
- /// </summary>
- public void hide()
- {
- Debug.Log("hide");
- optionsBtn.gameObject.SetActive(false);
- //joystick.SetActive(false);
- gameObject.SetActive(false);
- for (int i = 0; i < stars.Length; i++)
- {
- stars[i].SetSprite("star_icon_empty");
- stars[i].gameObject.SetActive(false);
- }
- }
- [19.09.14, 16:57:03] Pavel Kivalin: and?
- [19.09.14, 17:00:07] Customer: I am getting my partner to check.
- [19.09.14, 17:39:08] Customer: I am closing contract now you can upload files to dropbox please
- [19.09.14, 17:41:52] Pavel Kivalin: yes
- [19.09.14, 17:42:01] Pavel Kivalin: i finish commenting and upload
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement