How to make Perfect Snake VS Blocks Replica in Unity3D Tutorial part 2/3

Опубликовано: 28 Март 2026
на канале: Raytrace Interactive
3,786
21

Please add this code to GameController.cs script-

public void SetGame()
{
//Set the GameState
gameState = GameState.GAME;

//Manage Canvas Groups
EnableCG(GAME_CG);
DisableCG(MENU_CG);
DisableCG(GAMEOVER_CG);

//Reset score
SCORE = 0;
}
you can download SnakeMovement script here :
https://drive.google.com/open?id=1KTo...

Please Subscribe Channel for more tutorials.
this is 2nd part of this tutorial. you can watch 1st and 3rd part on our channel page.

you can download sprites here - https://drive.google.com/open?id=1RF8...

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) how to make addictive game
(8) Mobile game basics.
(9) learn to you unity tags.