예제 #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);
        }
    }
예제 #2
0
 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;
 }
예제 #3
0
 protected override void Awake()
 {
     CMD_GashaTOP.instance = this;
     base.Awake();
 }