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