Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Alatriste on December 07, 2016, 04:22:03 AM
-
Noob question here: is there a way to know the new size of a sprite (or any gameObject) after scaling it? Many times, specially during prototyping, I create a sprite that later I have to resize or scale. But then, how do I know the new size of the asset?
Thanks!
-
You can get a gameobject then use Get Property, and look for transform.
-
Not sure if I understood, but I cannot find anything that returns the new size of the gameObject.
-
Hi,
LocalScale maybe?
-
Didn't work either. I found a rudimentary way of doing it... not very professional but as a hack more or less work: I use the image capture tool of Mac to capture a region of the screen. The tool shows in real time the size of the area. :P