About if(!damagedealer)

in the lecture this line its below the line of get component its not need to be above this line? becouse in case the other gamobject do not have dealer component its still need to get null reference becouse we still try to access this component befor the if checking

Privacy & Terms