Ejemplo n.º 1
0
 public void InitData(LotteryPop p, LotteryData d, int i)
 {
     pop   = p;
     data  = d;
     index = i;
     SetInfoAfter();
     SetInfo();
     isBuyLayer = false;
     time.text  = Comm.DateDiff(data.refresh_time, DateTime.Now);
     timer      = new PassiveTimer(1);
 }
Ejemplo n.º 2
0
 public void LotteryPopClick()
 {
     if (isShow[(int)PopType.Lottery] != true)
     {
         GameObject obj = Instantiate(lotteryPop);
         obj.SetActive(true);
         LotteryPop pop = obj.GetComponent <LotteryPop>();
         pop.InitData();
         pop.transform.parent         = this.transform;
         pop.transform.localScale     = Vector3.one;
         isShow[(int)PopType.Lottery] = true;
     }
 }
Ejemplo n.º 3
0
    //private LuaState l;

    public void OpenPop(LotteryPop p)
    {
        pop = p;
        NetworkManager.Instance.LotteryList();
    }