I have typed this script, and the editor keeps saying I need to add a “;”, but I have. The strange this is. the error says it’s in the middle of the line, after “material”, not at the end were the semicolon should be.
if (level == 2){
Shooter.GetComponent.<Renderer>()material = Orange;
}
if (level == 3){
Shooter.GetComponent.<Renderer>()material = Red;
}