Example #1
0
 public void OnClick()
 {
     if (this.activity)
     {
         G3MapData.GetInstance().DoClickCheckPointHandler(this);
     }
 }
Example #2
0
 public void OnClick()
 {
     if (this.IsActivity)
     {
         G3MapData.GetInstance().DoClickLvHandler(this);
     }
     else
     {
         Debug.Log("ÀÌ°Å¡");
         ToastManager.Show("TXT_NO_50055", true);
     }
     AudioManager.GetInstance().PlayEffect("sound_eff_button");
 }
 private void Start()
 {
     this.Model = G3MapData.GetInstance();
     this.InitUI();
     this.InitEvent();
 }
Example #4
0
 //set position for item in level selector by row and col
 public void SetPosition(int row, int col)
 {
     base.transform.localPosition = new Vector3((float)(col * 150 + 75 - 300), (float)(G3MapData.GetInstance().GetGameBoxHeight(0) / 2 - row * 150 - 75 + 30), 0f);
 }
Example #5
0
 //set position for item in level selector by index
 public void SetPosition(int index)
 {
     this.SetPosition(G3MapData.GetInstance().GetRow(index), G3MapData.GetInstance().GetCol(index));
 }