<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gevvoihorry</author_name>
  <author_url>https://blog.hatena.ne.jp/gevvoihorry/</author_url>
  <blog_title>ホーリーのプログラミング日記</blog_title>
  <blog_url>https://application.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>完全に自分用のメモです。 DOTweenが便利だと知って、ちょこちょこ使ってるんですが、textのalphaを変更する方法が分かりませんでした。 UGUIのTextって言えばいいのかな？うん、なんかそれです。 結論から言えばこれで出来ました。 0.5fが最終的なalpha値で、2.0fが時間ですね。 var text = textGetMoney.GetComponent&lt;Text&gt;(); DOTween.ToAlpha( () =&gt; text.color, color =&gt; text.color = color, 0.5f, 2.0f ); これ、その手前でtextGetMoneyってやつを…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fapplication.hateblo.jp%2Fentry%2F2017%2F09%2F13%2F083840&quot; title=&quot;DOTweenを使ってtextのcolor、そのalpha値を変更する方法 - ホーリーのプログラミング日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-09-13 08:38:40</published>
  <title>DOTweenを使ってtextのcolor、そのalpha値を変更する方法</title>
  <type>rich</type>
  <url>https://application.hateblo.jp/entry/2017/09/13/083840</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
