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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user