Exemple #1
0
    private void Awake()
    {
        GameObject userInterface = GameObject.FindGameObjectWithTag("UI");

        _uScript = userInterface.GetComponent <InterfaceScript>();
        _uScript.FindPlayerScript();
        Level = 1;
        SetPlayerStats();
        _uScript.InfoKeyText.text = "Your Keys: " + GetComponent <Commands>().Keys;
    }