I have an image of my character in my unit frame and it looks ok BUT I would like to have the character animated like a camera zooming in on his face while in idle mode? Sorry but I am not sure about the terminology so if anyone knows how to accomplish this please can you shed some light?
Put a camera in front of your player’s face (as a child GameObject)
Set the Culling Mask to the Player layer and set the Target Texture to your newly created RenderTexture
Go to your UI and create a UI>Raw Image
Drop in the RenderTexture
Followed it to the T however no joy, this does however work when everything is in the same scene? Any ideas?
try to use dont destroy on load
Yip its on, RPG_UI is loaded…
I think he has his UI in a separate scene and its not pulling the reference to his cam or player unless he has them in the same scene.
There’s no reference though.
All I could think of with the little info he gave.
Sorry guys I will post more info tonight for ya.
Alright here we go
Result in my scene:
I was kinda expecting the avatar’s face to show up in the Unit frame
your player is on/in the player layer right?
ALIEN I OWE YOU A BEER! That was it! Thank you everybody!
Now I just have to work a proper mask for this!