Example #1
0
 private void Awake()
 {
     receiveButton.SetSubmitText(
         L10nManager.Localize("UI_PROGRESS"),
         L10nManager.Localize("UI_RECEIVE"));
     receiveButton.SetSubmitTextColor(ColorHelper.HexToColorRGB("955c4a"));
     receiveButton.OnSubmitClick
     .ThrottleFirst(new TimeSpan(0, 0, 1))
     .Subscribe(OnReceiveClick)
     .AddTo(gameObject);
 }