How would i go about making a portrait of the current player in a character menu type screen in c#?

I have currently been making a Character sheet type menu and wanted the players character
to show up with his/her current gear also showing on them and was wondering what the best
way to go about this would be. I am still learning as I go and some comments in the code to explain it would be nice if possible.

We don’t write your code for you on Unity Answers, but here’s how you could go about doing this.

If this is a platform with a bit of overhead (like PC), then what you could do is put a character on a new Layer “Character”, then create a new Camera that is a child of the character, that has a nice view of the character. Now change the camera’s culling mask to only show the Character layer.

Now you can change the camera’s viewport to take up a portion of the screen appropriate for your character sheet. Or, if you have Unity Pro, you can out put that camera’s view to a RenderTexture and put the output on your character sheet.