- Home /
Question by
kofight · Mar 09, 2012 at 12:00 PM ·
How can I find where my script component is used?
I always want find where my component is used? Is there a convenient way?
Comment
Answer by cj_coimbra · Mar 09, 2012 at 12:23 PM
Write a line to print the object´s name then go and search for that object.
print(this.gameObject.name);
Your answer
![](https://koobas.hobune.stream/wayback/20220613064926im_/https://answers.unity.com/themes/thub/images/avi.jpg)