private bool gameOver; //Is the Game over? #endregion Fields #region Methods void setWinner(ShapesManager p) { PlayerPrefs.SetInt ("winner", p.player); PlayerPrefs.SetInt ("CharWin", p.getCharNum()-1); Application.LoadLevel ("Winner"); }
private bool gameOver; //Is the Game over? #endregion Fields #region Methods void setWinner(ShapesManager p) { PlayerPrefs.SetInt ("winner", p.player); PlayerPrefs.SetInt ("CharWin", p.getCharNum()-1); Application.LoadLevel ("Winner"); }