Info.cs 322 Bytes
Newer Older
Nathan De Castro's avatar
Fresh!  
Nathan De Castro committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
using UnityEngine;
using UnityEngine.UI;

public class Info : MonoBehaviour
{
    private Text info_text;

    void Start()
    {
        info_text = GetComponent<Text>();
        info_text.text = "";
    }

    void Update()
    {
        info_text.text = "\n Difficulty: " + GameSettings.instance.difficulty;

    }
}