liuzhiwei
2020-12-24 45f7442afa3b25cc79c76898224e48d6aed1a2ee
Assets/Scripts/Core/Economy/Currency.cs
@@ -12,6 +12,8 @@
        /// </summary>
        public int currentCurrency { get; private set; }
        public int lastCurrency { get; private set; }
        /// <summary>
        /// Occurs when currency changed.
        /// </summary>
@@ -68,6 +70,7 @@
        {
            if (increment != 0)
            {
                lastCurrency = currentCurrency;
                currentCurrency += increment;
                if (currencyChanged != null)
                {