LifeRequestItem.cs 533 B

123456789101112131415161718192021222324252627282930
  1. using UnityEngine;
  2. using System.Collections;
  3. public class LifeRequestItem : LifeBankItem
  4. {
  5. protected override void DoAction()
  6. {
  7. FacebookHelper.Instance.SendLife(_data, OnComplete);
  8. }
  9. protected override string GetTextKey()
  10. {
  11. return "lifeRequest.text";
  12. }
  13. protected override string GetButtonActionCompletedKey()
  14. {
  15. return "lifeBank.sent";
  16. }
  17. protected override string GetButtonActionKey()
  18. {
  19. return "lifeBank.send";
  20. }
  21. protected override string GetButtonActionInProgressKey()
  22. {
  23. return "lifeBank.sending";
  24. }
  25. }