Exemple #1
0
    private void SetOpenGashaInfo(CommonDialog dialog)
    {
        CMD_GashaTOP cmd_GashaTOP = dialog as CMD_GashaTOP;

        if (null != cmd_GashaTOP)
        {
            string selectGashaId = (!string.IsNullOrEmpty(this.bannerInfo.jumpGachaId)) ? this.bannerInfo.jumpGachaId : "0";
            cmd_GashaTOP.SetSelectGashaId(selectGashaId);
        }
    }
 protected override void OnDestroy()
 {
     if (this.gashaButtonTextureList != null)
     {
         for (int i = 0; i < this.gashaButtonTextureList.Length; i++)
         {
             this.gashaButtonTextureList[i] = null;
         }
         this.gashaButtonTextureList = null;
     }
     base.OnDestroy();
     CMD_GashaTOP.instance = null;
 }
 protected override void Awake()
 {
     CMD_GashaTOP.instance = this;
     base.Awake();
 }