Ejemplo n.º 1
0
    void Start()
    {
        gameManager             = GameObject.FindGameObjectWithTag(Const.tagGAMEMANAGER).GetComponent <GameManager>();
        employeeAmount.text     = "0";
        turistAmount.text       = "0";
        homelessAmount.text     = "0";
        freeEmployeeAmount.text = "0";
        this.LoadDropDownAI();

        rolesCount.text = "line1 \n line2 \n line 3";

        observer = GameObject.FindGameObjectWithTag(Const.tagOBSERVER).GetComponent <Observer>();
        observer.AddUI(this);
    }