예제 #1
0
 public void SetLabel(int num, RemainingTurn.MiddleType middleType)
 {
     RemainingTurn.Type type = this.myType;
     if (type != RemainingTurn.Type.RightDown)
     {
         if (type == RemainingTurn.Type.Middle)
         {
             if (middleType == RemainingTurn.MiddleType.You)
             {
                 this.centerAnimator.SetTrigger("0");
             }
             else if (middleType == RemainingTurn.MiddleType.Others)
             {
                 this.centerAnimator.SetTrigger(num.ToString());
             }
             else if (middleType == RemainingTurn.MiddleType.Enemy)
             {
                 base.StartCoroutine(this.PlayDelayAnim(num));
             }
         }
     }
     else
     {
         this.messageLabels[0].text = num.ToString();
     }
 }
 public void SetRemainingTurnMiddleLabel(int num, RemainingTurn.MiddleType middleType)
 {
     this.ui.remainingTurnMiddle.SetLabel(num, middleType);
 }
 public void SetRemainingTurnRightDownLabel(int num, RemainingTurn.MiddleType middleType)
 {
     this.ui.remainingTurnRightDown.SetLabel(num, middleType);
 }