function Start () {
Repeat();
function Repeat();
gameObject.tag = "Army Cube";
yield WaitForSeconds(1);
gameObject.tag = "Ice Cube";
yield WaitForSeconds(1);
gameObject.tag = "Fire Cube";
yield WaitForSeconds(1);
gameObject.tag = "Mini Cube";
yield WaitForSeconds(1);
gameObject.tag = "Gravity Cube";
}
i have this code its suppose to loop but i keep getting this Error
.js(4,10): BCE0044: expecting (, found 'Repeat'.
i did what it said but that just adds more errors i don't know what to do
↧