구매 방어 코드
This commit is contained in:
parent
e59851705d
commit
86ff38cad1
|
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: be474b00c7134174b88a1f4dd1f5b3a8
|
||||
guid: e6c55b600f8006a44921a15d2773fe75
|
||||
labels:
|
||||
- gvh
|
||||
- gvh_version-9.5.0
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
11
|
||||
12
|
||||
|
|
@ -417,6 +417,7 @@ public class ProductSlot : CardBase
|
|||
|
||||
public void ClickButton()
|
||||
{
|
||||
rewardGranted = false;
|
||||
GameManager.Sound.PlaySFX(ESFXType.Button_Hit);
|
||||
|
||||
if (CheckConditionForState() == false)
|
||||
|
|
@ -715,8 +716,11 @@ public class ProductSlot : CardBase
|
|||
return text;
|
||||
}
|
||||
|
||||
bool rewardGranted = false;
|
||||
private void OnCompletedRewardedAd(bool isCompleted, string name)
|
||||
{
|
||||
if (rewardGranted) return;
|
||||
rewardGranted = true;
|
||||
if (name == this.name)
|
||||
{
|
||||
if (isCompleted)
|
||||
|
|
|
|||
Loading…
Reference in New Issue