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