using UnityEngine;
using UnityEngine.UI;

public class RunningIndicator : MonoBehaviour {

    private Image _image;

    void Start () {
        _image = GetComponent<Image>();
    }
    
    void Update () {
        _image.color = Color.Lerp(Color.white, Color.black, Mathf.PingPong(Time.time * 0.7f, 1)); ;
    }
}
