Example #1
0
        public void SubAsync(ChargeData arg0, float lerpTime)
        {
            var data = arg0;

            data.value = -arg0.value;
            AddAsync(data, lerpTime);
        }
Example #2
0
        public void Sub(ChargeData arg0)
        {
            var data = arg0;

            data.value = -arg0.value;
            Add(data);
        }
Example #3
0
        private void CompleteInternal(ChargeData data)
        {
            var complete = completeDatas.Find(x => x.type == data.type);

            if (!string.IsNullOrEmpty(complete.type))
            {
                _currentList.Add(data);
            }
        }
Example #4
0
 public void Add(ChargeData arg0)
 {
     currentValue += arg0.value;
     QuickSet();
 }
Example #5
0
 public void AddAsync(ChargeData arg0, float lerpTime)
 {
     currentValue += arg0.value;
     AsyncSet(lerpTime);
 }
 protected abstract void OnCharge(Vector3 center, ChargeData data, UnityAction onComplete);