Creating our hero
Let's navigate to the roguelikeChar_transparent1
spritesheet and drag its first sprite roguelikeChar_transparent1_0
into our scene. Rename the object to Player
, set the Order in Layer in the Sprite Renderer component to 10
, and then modify the Rect Transform, as shown in the following image:
Next, parent the Camera
object inside the Player object so that it will follow the player in the game. The scene should look as follows: