Posted on

How to Fix C# Errors in Unity 3D

Learn how to debug C# errors in Unity 3d. This is the first video for our tutorial series on how to debug C# in Unity. We will teach you everything you need to know when debugging your games in Unity. for this lesson, we will show you your first steps. If you follow these step and do not find an answer to your problems then please leave us a comment on with what you error is and we will try to publish a video on how to debug you C# error in Unity.

As you might assume we receive many comments from all of you asking us how to fix various errors and although we a glad to help and we try to respond to all your comments There are a few things we want you to do before you ask us to for debugging advice.

  1. Try to solve the problem yourself. Read and Click on the messages you are receiving in the console window, see where it takes you in the code and then try to fix the syntax or any problems.
  2. Look through all the debugging videos we have on this playlist for one that matches your error message.

After you have done these two things, if you are still having trouble we will be glad to help point you in the right direction. We want you to learn how to become game developers and have less need to rely on us. This is why we ask you to do these things first before you come straight to use with your questions.

If you don’t see a video in this playlist that relates to the error you happen to be receiving then we would love for you to leave us a comment asking us to make a video explaining how to fix it and we will get right on it.

Posted on

Fix ; Expected (Semicolon Expected) Error in Unity

This is a common error that coders can get on a regular basis. This is a compiler error because you receive this error prior to playing your game. There are a number of scenarios that can trigger this error but the most common ways to receive this error is by the following.

  1. Having the wrong number of closing symbols for your functions and classes. These include ), ], and }.
  2. Forgetting the semicolon(;) at the end of a line of code.
  3. Placing operators(+, -, *, /, <, >, =) where they don’t belong.

in addition to these common ways of triggering an Unexpected symbol error, this error can be caused by any character out of place.

Posted on

How to Make Tic Tac Toe

Lesson 1 Setup

In this lesson, we will show you how to set up your Tic Tac Toe project in Unity.

Lesson 2 Scripts

In this lesson, we create some of the basic scripts for our Tic Tac Toe game.

Lesson 3 Onclick Controls

Now we will show you how to create some of the needed on click function for our Tic Tac Toe game.

Lesson 4 More On Click

This lesson continues on with the creation of more on click function for the different buttons we have in the game.

Lesson 5 Winner Check

This lesson will teach you one of the most important mechanics of Tic Tac Toe the checker. This function runs after each turn and is used to see if there is a winner.

Lesson 6 Winner Display

Once we find a winner we then need to display the winner to the screen. Without this function, you are just marking a grid with X’s and O’s.

Lesson 7 Scores

For this lesson, we will show you how to add points to a player’s score when the win a game.

Lesson 8 Rematch

For this lesson, we will work on some of the UI so the players can restart the game when the match is over.

Lesson 9 Player Display

For this lesson, we will show you how to switch the display for who’s turn it is.

Lesson 10 Cat

In this lesson, we will handle the condition if no one wins the game.

Become an Info Gamer Member Today

Sign up as a member and receive more
tutorials, code, and assets for FREE!