Example #1
0
 public void ResetTotal(float total)
 {
     m_AnimatedProgress.quantity = 0;
     m_AnimatedProgress.total    = total;
     ProgressAnimator.UpdateProgress(ref m_AnimatedProgress);
 }
Example #2
0
 public void AddQuantity(float increment)
 {
     m_AnimatedProgress.quantity += increment;
     ProgressAnimator.UpdateProgress(ref m_AnimatedProgress);
 }
Example #3
0
 private void Start()
 {
     ProgressAnimator.GotoProgress(m_AnimatedProgress);
 }