Timed and Looped UI text shadow offset in Unity 5+

I was checking around the new UI system and got an idea with the guitext shadow effect:

Default Shadow Script on guitext

to make the title text in my game:

Actual title in Main Menu

move in the X axis move back and forth between 0 and an X every Y amount of seconds, kinda reminiscent of the Hotline Miami title screens.

If its possible I’d like it in C#. I’m pretty new to coding so I know what i want to do but no clear idea on how to apply it into code.

Thanks very kindly in advance! And Merry Christmas!

Merry Christmas!

using UnityEngine;
using UnityEngine.UI;

public class ShadowTest : MonoBehaviour {

    public Shadow _shadow;  //assign it in editor
    float _start = 0.0f;   //Start at
    float _end = 3.0f;
    void Update()
    {

        _shadow.effectDistance = new Vector2(Mathf.PingPong(Time.time * 2, _end - _start) + _start, -1);
    }
}