Commit 832322b1 authored by zhangzhe's avatar zhangzhe

修改重复上报问题

parent b92c4838
...@@ -164,12 +164,13 @@ public class Guide : MonoBehaviour ...@@ -164,12 +164,13 @@ public class Guide : MonoBehaviour
public void onClickStep2() public void onClickStep2()
{ {
Debug.Log("点击第2步"); Debug.Log("点击第2步");
EventUtils.OnEvent("xsyd02_jsbc_click");
DissmissGuide(false); DissmissGuide(false);
if (PlayerPrefs.GetInt(step3Key, 0) == 0) if (PlayerPrefs.GetInt(step3Key, 0) == 0)
{ {
if (PlayerDataControl.Instance.IsNewUser) if (PlayerDataControl.Instance.IsNewUser)
{ {
Debug.Log("上报xsyd02_jsbc_click");
EventUtils.OnEvent("xsyd02_jsbc_click");
PlayerPrefs.SetInt(step3Key, 1); PlayerPrefs.SetInt(step3Key, 1);
ObjStep3.SetActive(true); ObjStep3.SetActive(true);
hand_3.SetActive(true); hand_3.SetActive(true);
......
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