Beispiel #1
0
        void UpdateState()
        {
            var canStartPlacement = _builder.CanStartPlacement(_type);

            _button.interactable = canStartPlacement;
            Label.text           = string.Format("{0} Server ({1}, {2}/h)", _type, _builder.GetBuildPrice(_type), _builder.GetMaintenance(_type));
            _prevStartPlacement  = canStartPlacement;
        }