Unity Tutorial 02 (Semester 2)
Image from the tutorial For this weeks Unity tutorial I had to continue on from last weeks one where we set up Ruby's Adventure. This week I had to decorate the world I set up last week. First I had to select the metalcube object from my assets folder and add it to my scene however when I did this Ruby was unable to collide with my GameObject so obviously I had to fix this. To do this I had to go into draw a GameObject using graphic in my project settings. I then had to find transparency sort mode and change my default settings to custom axis. I then had to set my transparency sort axis coordinates to x=0, y=1, and z=0. After I did this Ruby was being drawn in front of the box too early so of course I had to fix this too using the sprite renderer. First I had to select the Ruby GameObject in my hierarchy and find its sprite renderer component in my inspector. Then I had to change my sprite sort point field from center to pivot so that it wouldn't be set in the center anymore....