Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     if(ultimate != null){ //THERE CAN BE ONLY ONE
         Destroy(this.gameObject);
     }
     else{
         ultimate = this;
         DontDestroyOnLoad(this);
         initials[0] = "SBR";
         initials[1] = "MJR";
         initials[2] = "GOK";
         scores[0] = 5000;
         scores[1] = 3574;
         scores[2] = 1454;
     }
     //	updateHighScore();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     if (ultimate != null)         //THERE CAN BE ONLY ONE
     {
         Destroy(this.gameObject);
     }
     else
     {
         ultimate = this;
         DontDestroyOnLoad(this);
         initials[0] = "SBR";
         initials[1] = "MJR";
         initials[2] = "GOK";
         scores[0]   = 5000;
         scores[1]   = 3574;
         scores[2]   = 1454;
     }
     //	updateHighScore();
 }