Please add this code to script- public void SetGame() { //Set the GameState gameState = ; //Manage Canvas Groups EnableCG(GAME_CG); DisableCG(MENU_CG); DisableCG(GAMEOVER_CG); //Reset score SCORE = 0; } Please Subscribe Channel for more tutorials. join FB group - you can download sprites here - This is a very popular and addictive game of 2018, that's why I think of making tutorial of this game. this tutorial is for advanced and beginner unity Students. In this Tutorial you will learn- (1) Basic Game Design. (2) working on 2D game in unity. (3) programming Skill in c# (4) work with 2D colliders (5) working on collider stay and trigger enter. (6) how to save score in player preference. (7)
Hide player controls
Hide resume playing