Example #1
0
 public virtual void OnMoneyEarnedEvent(MoneyEarnedEvent e)
 {
     //rope spawning gets faster
     if (timeofspawn > 1.5)
     {
         timeofspawn -= 0.1f;
     }
 }
Example #2
0
 public virtual void OnMoneyEarnedEvent(MoneyEarnedEvent e)
 {
     alpha += 0.00001f;
     if (color.a >= 0.05f)
     {
         color.a -= 0.05f;
     }
 }
Example #3
0
 public virtual void OnMoneyEarnedEvent(MoneyEarnedEvent e)
 {
     EarnMoney(e.moneyA, e.moneyB);
 }