public int addCreditValue; // Set in the Inspector protected override void OnClick() { base.OnClick(); CreditManager.AddCredits(addCreditValue); }