unity
-
How to jump in a 2d Unity Game
If you are making a 2d unity project, whether it be a platformer or another type of game, jumping is a common mechanism. Lets start by creating an empty C# class called PlayerJump. In this C# class, lets first grab the rigid body which allows our character to move around. Also, lets create a jumpSpeed
Read More… -
Unity click to move with navmesh and navmesh agent
If you’ve played any classic rpg where the character moves around the level by click on the ground to navigate to that location, then you are in for a treat. In this blog post, I’ll give you an example of how implement this functionality in Unity using navmesh agents. Let’s take a look at this
Read More… -
Unity lifecycle callback functions
If you create a unity project, you will most likely create a class that inherits from MonoBehaviour. I’ll talk a bit about some of the most important MonoBehaviour methods since they will be driving a majority of game functionalities. The most important methods will be: Start, Update, Awake and LateUpdate. You won’t need to use
Read More…
Recent Comments