Example #1
0
 private void OnClicked_VS()
 {
     this.ForceHide(true);
     if (null == GUIManager.CheckTopDialog("CMD_PvPTop", null))
     {
         GUIManager.CloseAllCommonDialog(delegate
         {
             FarmColosseum.ShowPvPTop();
         });
     }
 }
Example #2
0
    private IEnumerator TouchUp()
    {
        GUIMain.BarrierON(null);
        SoundMng.Instance().TryPlaySE("SEInternal/Farm/se_203", 0f, false, true, null, -1);
        Animator animator = base.GetComponent <Animator>();

        if (null != animator && null == animator.runtimeAnimatorController)
        {
            animator.runtimeAnimatorController = FarmDataManager.FacilityAnimator;
            animator.enabled = true;
        }
        yield return(base.StartCoroutine(FarmObjectAnimation.PlayAnimation(base.gameObject, FacilityAnimationID.SELECT)));

        GUIMain.BarrierOFF();
        FarmColosseum.ShowPvPTop();
        yield break;
    }
Example #3
0
 private void OnClicked_VS()
 {
     FarmColosseum.ShowPvPTop();
 }