CQ_Intelligent-Technology-T.../Assets/Scripts/Imagebreathe.cs

19 lines
308 B
C#

using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Imagebreathe : MonoBehaviour
{
void Start()
{
this.GetComponent<Image>().DOFade(0.2f, 1).SetLoops(-1, LoopType.Yoyo);
}
void Update()
{
}
}