private void Start() { if (PlayerPrefsWrapper.Get(KeyShouldExist) != 0) { UnityWrapper.GetRequestMethod(Request).Invoke(); PlayerPrefsWrapper.Take(KeyShouldExist); } ; }
public void Awake() { _button = GetComponent <Button>(); _button.onClick.AddListener(UnityWrapper.GetRequestMethod(Request)); PlayerPrefsWrapper.StringPrefsChanged += ValueChanged; }