title: someObject.transform.eulerAngles = new Vector3(0f,0f,0f) Not working
body: <p>Here is my code when I try to rotate it</p>
  <p><a href="https://i.stack.imgur.com/upt8f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/upt8f.png" alt="enter image description here" /></a></p>
  <pre><code>    IEnumerator cubeToBlock () {
          yield return new WaitForSeconds(m_cube.GetComponent &lt;Animation&gt; ().clip.length-0.6f);
          block.Play();
          //! Adding RigitBody component to m_cube
          m_cube.AddComponent &lt;Rigidbody&gt; ();
          m_cube.transform.eulerAngles = new Vector3(0f,0f,0f);
          print(m_cube.transform.eulerAngles.x);
      }
  </code></pre>
  <p>It prints 0, so unity thinks that it is 0 but it isn't</p>
  <p><a href="https://i.stack.imgur.com/YsHUK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YsHUK.png" alt="enter image description here" /></a></p>
  <p>What should I do I don't understand, I am new to Unity so if I missed some details please let me know</p>
  <p>P.S. m_cube is surely the Main Cube component
  And my parent is rotated in 90 deg</p>