コード例 #1
0
        protected void Update()
        {
            #region Setting Variables
            loadSave   = autoLoad;
            autoSaving = autoSave;

            _autoClickSave = autoClickSave;
            _autoSellSave  = autoSellSave;

            _products   = products;
            _money      = money;
            _sellAmount = sellAmount;

            enhancementButtons = _enhancementButtons;
            #endregion

            #region ExperienceVariables
            _xp    = xp;
            _level = level;
            rXp    = RequiredXP;
            #endregion

            #region Clicker Methods
            clicker._timer();
            #endregion

            #region Display Text
            text.DisplayExperienceStats();
            text.DisplayMoney();
            text.DisplayProducts();
            #endregion

            ActivateAutoSaver();
            CheckIfAutoClickerIsSaved();

            LevelUp();
            SetLevel(xp);
        }