Question by
Shorachan · Apr 17, 2020 at 12:53 PM ·
scripting problemerrormeshmeshcollider
mesh collider error: "your script needs to check if the component is attached before using it"
i have this piano that i added mesh colliders in every part of it, this error keep happening, i know what does it mean but i have no idea how to make the script check it. i'm new to all of this and still practicing. i searched the whole answers but didn't find a suitable answer. what is the code i should add to solve it ? i would appreciate it if someone told me what the other errors mean
screen-shot-2020-04-17-at-34501-pm.png
(337.8 kB)
screen-shot-2020-04-17-at-34405-pm.png
(501.2 kB)
Comment