Question by
unity_Q012VN7L4GLnJw · Dec 31, 2018 at 08:21 PM ·
c#unity 2d
convert distance units to image size to make the image same size as distance
i want a way to convert distance units to image size to make the image same size as distance like circle.transform.localScale= Vector2.Distance(monster.transform.position, transform.position);
Comment
Your answer
Follow this Question
Related Questions
switch between 5 Ui icons by pressing a button 0 Answers
Shooting an instantiated missile the way a object is facing. 0 Answers
How do I make a scrollbar for the camera? 0 Answers
How to add more UI elements to Dropdown OptionData except default string and sprite values in Unity? 0 Answers
Find nearest enemy object in radius 2 Answers