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