Exemple #1
0
    void Awake()
    {
        SinglePlayerScript = GetComponent <SinglePlayerGUI>();
        MultiPlayerScript  = GetComponent <MultiplayerGUI>();

        menuSelector    = 0;
        btnHeight       = 80;
        btnWidth        = 300;
        space           = btnHeight + 20;
        playerNameInput = PlayerPrefs.GetString("playerName" + Application.platform, "");
    }
Exemple #2
0
    void Awake()
    {
        SinglePlayerScript=GetComponent<SinglePlayerGUI>();
        MultiPlayerScript=GetComponent<MultiplayerGUI>();

        menuSelector = 0;
        btnHeight = 80;
        btnWidth  = 300;
        space=btnHeight+20;
        playerNameInput = PlayerPrefs.GetString("playerName" + Application.platform, "");
    }