title: unity run function from coroutine
body: <p>hi why dosn't this work 
  i'm trying to rotate a game object from a cororotine the function runs but not the rotate if i put the rotate in the update it runs fine im confused thanks for any help</p>
  
  <pre><code>       using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class waitthendosomthing : MonoBehaviour
  {
      public bool beingHandled = true; //  bool
      void Update()
      {
          //transform.Rotate(6, 0, 0);// this runs 
          if (beingHandled == true )
          {
              StartCoroutine(HandleIt());// run function
          }
  
      }
  
      void rotateit()
      {
          transform.Rotate(6, 0, 0);// this dosnt run
          print("running this function");
      }
  
      IEnumerator HandleIt()
      {
              beingHandled = false;
              print("BeingHandled is off");
              rotateit();
              //transform.Rotate(6, 0, 0); // or this
              yield return new WaitForSeconds(3.1f);
              //transform.Rotate(0, 0, 0); // or this
              yield return new WaitForSeconds(3.1f);
              beingHandled = true;
              print("BeingHandled is on");
      }
  }
  </code></pre>