Esempio n. 1
0
 public void Init(LeaderboardDialog newDialog = null)
 {
     if (this.initialized)
     {
         return;
     }
     if (newDialog != null)
     {
         this.leaderboardDialog = newDialog;
     }
     if (this.cups == null)
     {
         this.cups = new Transform[6];
         for (int i = 1; i <= 6; i++)
         {
             string name = string.Format("CupGrid/Cup{0}", i);
             this.cups[i - 1] = base.transform.Find(name);
         }
     }
     this.initialized = true;
 }
Esempio n. 2
0
 public void SetDialog(LeaderboardDialog parentDialog)
 {
     this.dialog = parentDialog;
 }
Esempio n. 3
0
 public void Init(LeaderboardDialog parentDialog)
 {
     this.dialog = parentDialog;
     base.gameObject.SetActive(false);
     this.heightAdded = false;
 }