I have a gameobject named “fighterjet” which has a script attached to it named “HowLongJet.js” This scripts records how many seconds the fighterjet has survived. I used the variable “score.” If the fighterjet collides with an enemy, it stops the timer.
I have another gameobject named “GameFinish” which has a GUI Text attached to it. My problem is, I want to get the value of the score onto the GUI Text.