private Color32 flashingColor;
    private void Start()
    {
        StartCoroutine(moraleBarFlashing());
    }

    private void Update()
    {
        moraleBar.color = (manager.morale >= 1200) ? flashingColor : Color.white;
    }

    IEnumerator moraleBarFlashing()
    {
        while (true)
        {
            flashingColor = new Color32(204, 153, 255, 255);
            yield return new WaitForSeconds(0.0125f);
            flashingColor  = new Color32(169, 209, 247, 255);
            yield return new WaitForSeconds(0.0125f);
            flashingColor  = Color.blue;
            yield return new WaitForSeconds(0.0125f);
            flashingColor = new Color32(180, 240, 167, 255);
            yield return new WaitForSeconds(0.0125f);
            flashingColor = Color.green;
            yield return new WaitForSeconds(0.0125f);
            flashingColor = new Color32(255, 255, 191, 255);
            yield return new WaitForSeconds(0.0125f);
            flashingColor = new Color32(255, 223, 190, 255);
            yield return new WaitForSeconds(0.0125f);
            flashingColor = new Color32(255, 177, 176, 255);
            yield return new WaitForSeconds(0.0125f);
        }
    }    



나라면 이렇게 할거임