예제 #1
0
파일: Player.cs 프로젝트: cnoco1at3/ayayeye
 public void Miss()
 {
     // wrong people effect
     NSwitch();
     // miss people effect
     generator_now.shake.shake();
     level.Wrong();
     tunnels.Wrong();
 }
 /// <summary>
 /// 位置錯誤
 /// </summary>
 protected virtual void PositionWrong()
 {
     rect.anchoredPosition = posOriginal;                // 回到原點
     StartCoroutine(level.Wrong());                      // 錯誤特效
 }