- Home /
Question by
FarisGames · Nov 16, 2014 at 08:55 PM ·
2dguitexturescene-size
Scale GUITexture as big as In-Game GameObject
Hello,
I've been struggling for days to figure this out, still no idea how to do it.
I have a 2D game object (the player) scaled to 1,1 and I have a GUITexture that I'd like it to have the same size, but since 1,1 on GUITexture means the whole screen..that won't work.
So is there a way to figure the size by code?
Orthographic Size is 11
and here's a screenshot that might help.
unity.png
(17.5 kB)
Comment
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Glitching between box colliders. One is kinematic... Help! 1 Answer
A Question about sprites 3 Answers
Move Object With Angle In 2D 1 Answer