Added basic notification system

-Works with minimal calls to SendNotification(), infinite loop possible
on multiple calls
-Add to MoreExp()
--Add case for multiple notifications of same type combining value
--If notification timer > maxTime
---expRate = expNotifyValue / secondsPassed
---Display Exp/s instead of continuously growing value
This commit is contained in:
2017-09-04 19:53:18 -04:00
parent cc86eabeef
commit 33664d2735
5 changed files with 204 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ public class ExperienceBar : MonoBehaviour {
++clicks;
currentExp = currentExp + Increment;
fillAmount = currentExp / currentRequirement;
Debug.Log("fillAmount = " + fillAmount);
//Debug.Log("fillAmount = " + fillAmount);
}
public void LevelUp()