Beispiel #1
0
 private void Awake()
 {
     _mat = GetComponent <MeshRenderer>().material;
     _mat.DOFloat(TargetValue, ShaderValue.GetString(), Duration).SetEase(Ease.InOutFlash).SetLoops(-1, LoopType.Yoyo);
 }