Open Rebedalm16 opened 9 years ago
In Order for the score to work this code has to implemted: public int score = 0;
void OnGUI() { GUI.color = Color.black; GUI.Label( new Rect(200,60,100,100), "Score: " + score); }
}
The score will add by 1 every time the random objects are put on the platform at the bottom. This code will show the core on the top left hand corn of the scene.
In Order for the score to work this code has to implemted: public int score = 0;
}
The score will add by 1 every time the random objects are put on the platform at the bottom. This code will show the core on the top left hand corn of the scene.