Move an Object in the direction it is facing? C#
<p>There are questions like this but I couldn't find any answers in C#, so here's my question: I want to rotate an object (in Unity 5) in the direction it's facing. I currently have this code to rotate my player. </p>

<pre><code>using UnityEngine;                                                       
using System.Collections;

public class Movement : MonoBehaviour
{
    private bool isLeft = false;

    void Update()
    {
        if (Input.GetMouseButtonDown(0))
        {
            if (isLeft == false)
            {
                transform.rotation = Quaternion.Euler(90, 45,0);
                isLeft = true;
                Debug.Log("Turned Right");
            }
            else
            {
                transform.rotation = Quaternion.Euler(90, -45, 0);
                Debug.Log("Turned Left");
                isLeft = false;
            }
      }
}
</code></pre>