Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        GameObject UIEmpty = GameObject.Find("UI_Empty");

        if (UIEmpty)
        {
            _UpdateUI = UIEmpty.GetComponent <UpdateUI>();
        }

        month  = 01;
        day    = 01;
        year   = 2100;
        hour   = 12;
        minute = 00;
        second = 00;

        UpdateGameTimeString();
        _UpdateUI.UpdateGameTimeUI(GameTimeString);
    }