public static void Apply(Player player, Action OnApply = null) { CurrencyService.AddCurrency(CurrencyCode.RP, Config.bestScorePrize) .Then(() => CurrencyService.GetCurrency(CurrencyCode.RP)) .Then((result) => { player.SetCurrency(result); if (OnApply != null) { OnApply(); } }); }