コード例 #1
0
 /// <summary>
 /// 未实现功能
 /// </summary>
 public void Expect()
 {
     if (at == null)
     {
         at = expect_img.GetComponent <AlphaTween>();
     }
     at.ResetToBeginning();
     at.PlayForward();
 }
コード例 #2
0
 /// <summary>
 /// 警示
 /// </summary>
 public void Caution(Image _imag, bool Caution)
 {
     if (Caution)
     {
         if (NumeNUll == null)
         {
             NumeNUll = _imag.GetComponent <AlphaTween>();
         }
         NumeNUll.ResetToBeginning();
         NumeNUll.PlayForward();
     }
     else
     {
         if (Special == null)
         {
             Special = _imag.GetComponent <AlphaTween>();
         }
         Special.ResetToBeginning();
         Special.PlayForward();
     }
 }