I’m following a YouTube tutorial to refresh my Unity skills for an upcoming college course this September, specifically the one by Game Maker’s Toolkit where you recreate Flappy Bird. I’ve gotten to the end of the Pipe spawning part but my compiler seems to think that Random.Range is referencing code in the engine and not in the script I am writing, specifically the word Random before the stop symbol.
Instantiate(pipe, new Vector3(transform.position.x, Random.Range(lowestPoint, highestPoint), 0), transform.rotation);