コード例 #1
0
 private void Update()
 {
     if (Input.GetKeyDown(stopCoroutineInput))
     {
         if (annoyingLogCoroutine != null)
         {
             annoyingLogCoroutine.Stop();
             Debug.Log(gameObject.name + " Annoying Log Coroutine Stopped.", this);
         }
         annoyingLogCoroutine = null;
     }
 }