So I have this script that looks at the ground and says, “heay ground do you have Fricion?” and most of the time its all like, “You know I do dog.” But some times it is like “Nope whats that.”
In case of the latter the script is all like, warning warning.
Object reference not set to an instance of an object.
But I want it to be like “that’s cool what evsss.”
how do I make it not give out an error when looking for the attached script.
this is how I am calling the script.
transform.GetComponent(Colliding2).StandingOn.GetComponent(Properties);