- Home /
why is my image (script) broken?
My image (script) is broken it just says "image" instead of "image (script)"
This makes it so that if i put child objects under it. For example i make a button and how it usually should work is that the button should dissapear aswell as the panel. I dont know how i did this or how i fix it. im new to unity and i am bad at coding/scripting. I was planning on using this feature too make a pause menu.
Answer by waltran · Jan 19, 2021 at 06:43 PM
This is not broken. Image is a Unity UI component. That is why it doesn't say (Script), it has special Inspector drawer.
https://docs.unity3d.com/2018.3/Documentation/Manual/script-Image.html edit: i just realized in the documentation it says (Script) but that is just old, in the new versions there is no (Script) written