Ejemplo n.º 1
0
        void Update()
        {
            for (int i = 0; i < uis.Count; ++i)
            {
                uis[i].refresh(user.usages[i]);
            }
            tex_gold.text = user.currentGold.ToString();
            RobotsManager m = App.Instance.gameView.robotsManager;

            tex_robots.text = m.getRobotsAvailablesCount().ToString() + " / " + m.Robots.Count.ToString();
        }