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:
![](https://static.packt-cdn.com/products/9781784393106/graphics/image_05_016.jpg)
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:
![](https://static.packt-cdn.com/products/9781784393106/graphics/image_05_017.jpg)