public void Init() { WebServiceController.Instance.OnWebServiceResponse += OnWebServiceResponse; // Get Jackpot All Game SendRequest.SendEventGetAllJackpot(); StartCoroutine(GetDataAllJackpot()); isStateShow = false; tempVector3 = Vector3.zero; tempVector3.y = posHide; tempVector3.x = 1; rectTransContentAll.localScale = tempVector3; btShowTop.onClick.AddListener(ClickBtShowTopJackpot); btNext.onClick.AddListener(ClickBtNext); btPre.onClick.AddListener(ClickBtPre); for (int i = 0; i < listTypeJackpot.Count; i++) { listTypeJackpot[i].Init(this); } scrollViewController.Init(this); }
private void RefreshView() { scrollViewController.Init(scannedCodes.data); }