Esempio n. 1
0
 //keep the instance alive
 void FixedUpdate()
 {
     instance = this;
 }
Esempio n. 2
0
    // public Dictionary<int, ConnectedPlayerPanel> connected_players_ui;

    private void Awake()
    {
        inst = this;
        //  connected_players_ui = new Dictionary<int, ConnectedPlayerPanel>();
    }
Esempio n. 3
0
 // Use this for initialization
 void Start()
 {
     currentMenu = "Main";                                           //start off in the main menu upon level start
     matchName   = "Temp Name: " + Random.Range(0, 5000);            //setup a temp name that most likely won't show up again
     instance    = this;
 }