Commit cd9d1a8e authored by maxiaoliang's avatar maxiaoliang

修改秒数问题和solt

parent 6d81dfe8
...@@ -68,7 +68,7 @@ public class DoubleIncomeDialog : MonoBehaviour ...@@ -68,7 +68,7 @@ public class DoubleIncomeDialog : MonoBehaviour
{ {
EventUtils.OnEvent("buttonClick_doubleIncome_receive"); EventUtils.OnEvent("buttonClick_doubleIncome_receive");
GameObject.Find("Dialog").GetComponent<DialogControl>().OnClickCloseDoubleDialog(); GameObject.Find("Dialog").GetComponent<DialogControl>().OnClickCloseDoubleDialog();
AdUtils.PlayRewardAd("fkqcw_protection", new Action<bool>((cb) => AdUtils.PlayRewardAd("doubling_reward", new Action<bool>((cb) =>
{ {
EventUtils.OnEvent("rewardVideo_doubleIncome"); EventUtils.OnEvent("rewardVideo_doubleIncome");
EventUtils.OnEvent("doubling_reward"); EventUtils.OnEvent("doubling_reward");
......
...@@ -145,7 +145,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View ...@@ -145,7 +145,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
} }
private int time = 5; private int time = 10;
private void startCountDown() private void startCountDown()
{ {
StartCoroutine(showPigTrip()); StartCoroutine(showPigTrip());
...@@ -156,7 +156,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View ...@@ -156,7 +156,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
img_pig_cash_trips.SetActive(true); img_pig_cash_trips.SetActive(true);
yield return new WaitForSecondsRealtime(time); yield return new WaitForSecondsRealtime(2f);
img_pig_cash_trips.SetActive(false); img_pig_cash_trips.SetActive(false);
yield return new WaitForSecondsRealtime(time); yield return new WaitForSecondsRealtime(time);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment