12345678910111213141516171819202122232425262728293031 |
- using UnityEngine;
- using System.Collections;
- public class LifeGivenItem : LifeBankItem
- {
- protected override void DoAction()
- {
- FacebookHelper.Instance.AcceptLife(_data, OnComplete);
- }
- protected override string GetTextKey()
- {
- return "lifeGiven.text";
- }
- protected override string GetButtonActionCompletedKey()
- {
- return "lifeBank.accepted";
- }
- protected override string GetButtonActionKey()
- {
- return "lifeBank.accept";
- }
- protected override string GetButtonActionInProgressKey()
- {
- return "lifeBank.accepting";
- }
- }
|